UG: nsteps.rst: suggest "mkdir -p" instead of plain "mkdir"
PATCH 1/2 UG: nsteps.rst: suggest "mkdir -p" instead of plain "mkdir"
Use
$ mkdir -p ~/bin
instead of
$ mkdir ~/bin
to avoid errors in case ~/bin already exists.
Signed-off-by Mario Domenech Goulart <[email protected]>
--- user-guide/source/nsteps.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
user-guide/source/nsteps.rst +1 -1
@@ -5,7 +5,7 @@ Build and boot in *N*-steps 2. Download the `repo`_ tool:: - $ mkdir ~/bin + $ mkdir -p ~/bin $ PATH=~/bin:${PATH} $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
Signature · 1 line
1.7.10.4
PATCH 2/2 UG: nsteps.rst: add <selected machine> to the path to the .sdcard file
Also fix a small typo at the same line (s/select machine/selected machine/)
Signed-off-by Mario Domenech Goulart <[email protected]>
--- user-guide/source/nsteps.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
user-guide/source/nsteps.rst +1 -1
@@ -38,7 +38,7 @@ Build and boot in *N*-steps build $ ls -la 'tmp/deploy/images/*.sdcard' # Flash the soft link one - build $ sudo dd if=tmp/deploy/images/<selected image>-<select machine>.sdcard \ + build $ sudo dd if=tmp/deploy/images/<selected machine>/<selected image>-<selected machine>.sdcard \ of=/dev/sdX \ bs=1M \ conf=fsync
Signature · 1 line
1.7.10.4