UG: nsteps.rst: suggest "mkdir -p" instead of plain "mkdir"
PATCH v2 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 v2 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
user-guide/source/nsteps.rst +2 -2
@@ -35,10 +35,10 @@ Build and boot in *N*-steps # Type '$ dmesg | tail' to see the device node being used, e.g /dev/sdb # In case the SD to be flashed has already some partitions, the host system may have # mounted these, so unmount them, e.g. '$ sudo umount /dev/sdb?'. - build $ ls -la 'tmp/deploy/images/*.sdcard' + build $ ls -la 'tmp/deploy/images/<selected machine>/*.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
Quoted 11 lines · Mario Domenech Goulart
Use
$ mkdir -p ~/bininstead of
$ mkdir ~/binto avoid errors in case ~/bin already exists.
Signed-off-by Mario Domenech Goulart <[email protected]>
I´m sorry for my delay, Mario.
Just merged your 2 patches into master and daisy
Thanks,
Daiane