[FE training-materials-updates] Replace <user> by $USER when possible
Michael Opdenacker
michael.opdenacker at free-electrons.com
Tue Jul 9 17:30:05 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=5b93f076bdde4f83931755bb95409c8aa087f76a
>---------------------------------------------------------------
commit 5b93f076bdde4f83931755bb95409c8aa087f76a
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Tue Jul 9 17:29:17 2013 +0200
Replace <user> by $USER when possible
That's more newbie proof
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
5b93f076bdde4f83931755bb95409c8aa087f76a
labs/android-new-board/android-new-board.tex | 2 +-
.../kernel-module-environment.tex | 2 +-
labs/sysdev-tinysystem/sysdev-tinysystem.tex | 2 +-
labs/sysdev-u-boot/sysdev-u-boot.tex | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/labs/android-new-board/android-new-board.tex b/labs/android-new-board/android-new-board.tex
index e9d7afb..c895ac5 100644
--- a/labs/android-new-board/android-new-board.tex
+++ b/labs/android-new-board/android-new-board.tex
@@ -166,7 +166,7 @@ You also need to make your user belong to the \code{dialout} group to be
allowed to write to the serial console:
\begin{verbatim}
-sudo adduser <user> dialout
+sudo adduser $USER dialout
\end{verbatim}
You need to log out and in again for the group change to be effective.
diff --git a/labs/kernel-module-environment/kernel-module-environment.tex b/labs/kernel-module-environment/kernel-module-environment.tex
index befc5c2..94977fa 100644
--- a/labs/kernel-module-environment/kernel-module-environment.tex
+++ b/labs/kernel-module-environment/kernel-module-environment.tex
@@ -133,7 +133,7 @@ read and write access to this file. Therefore, you need to add your user
to the \code{dialout} group:
\begin{verbatim}
-sudo adduser <user> dialout
+sudo adduser $USER dialout
\end{verbatim}
You now need to log out and log in again to make the new group
diff --git a/labs/sysdev-tinysystem/sysdev-tinysystem.tex b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
index 2192e90..d27933e 100644
--- a/labs/sysdev-tinysystem/sysdev-tinysystem.tex
+++ b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
@@ -40,7 +40,7 @@ Go to the \code{$HOME/felabs/sysdev/tinysystem/} directory.
\section{Kernel configuration}
We will re-use the kernel sources from our previous lab, in
-\code{/home/<user>/felabs/sysdev/kernel/}.
+\code{$HOME/felabs/sysdev/kernel/}.
In the kernel configuration built in the previous lab, verify that you
have all options needed for booting the system using a root filesystem
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index ffd82ba..6943818 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -163,7 +163,7 @@ You also need to make your user belong to the \code{dialout} group to be
allowed to write to the serial console:
\begin{verbatim}
-sudo adduser <user> dialout
+sudo adduser $USER dialout
\end{verbatim}
You need to log out and in again for the group change to be effective.
More information about the training-materials-updates
mailing list