Skip to contentSkip to conversation

UG: nsteps.rst: suggest "mkdir -p" instead of plain "mkdir"

PATCH Superseded Mario Domenech Goulart 1 participant 2 messages Sep 8, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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.

---
 user-guide/source/nsteps.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
user-guide/source/nsteps.rst +1 -1
index 213665e..a5922c6 100644
@@ -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
#1 lore raw

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/)

---
 user-guide/source/nsteps.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
user-guide/source/nsteps.rst +1 -1
index a5922c6..a9ac85e 100644
@@ -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