Make copy to sdcard more reliable
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 21 Mar 2017 18:48:26 +0000 (18:48 +0000)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 21 Mar 2017 18:48:26 +0000 (18:48 +0000)
Change-Id: Ia7e9875f6999aa50f386c82945a430db93664254
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
docs/3-Usage.md

index 4460c91..cc76f1f 100644 (file)
@@ -51,8 +51,12 @@ Copy, still from your host:
 > **CAUTION:** Make sure to sync IO with sync command before unplug your SDcard. It could be corrupted if removed before all pending IO aren't done.
 
 ```bash
-$ sudo cp ~/devel/docker/share/libafbwsc-dev-1.0-r0.cortexa15hf_neon.rpm /run/media/claneys/97f418a5-612f-44e9-b968-a19505695151/home/root
+$ sudo umount /dev/sdc1
+$ export SDCARD=/mnt
+$ sudo mount /dev/sdc1 $SDCARD
+$ sudo cp ~/devel/docker/share/libafbwsc-dev-1.0-r0.cortexa15hf_neon.rpm $SDCARD/home/root
 $ sync
+$ sudo umount $SDCARD
 ```
 
 Insert the modified SDcard in your Porter board and boot from it. You are ready to go.