[FE training-materials-updates] YP: script: fix compatibility mode

Alexandre Belloni alexandre.belloni at free-electrons.com
Tue Oct 18 10:59:00 CEST 2016


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=7f42f21b8765691a2536440b0763218ff807af6f

>---------------------------------------------------------------

commit 7f42f21b8765691a2536440b0763218ff807af6f
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Tue Oct 18 10:59:00 2016 +0200

    YP: script: fix compatibility mode
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>


>---------------------------------------------------------------

7f42f21b8765691a2536440b0763218ff807af6f
 lab-data/yocto/script/format_sdcard.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lab-data/yocto/script/format_sdcard.sh b/lab-data/yocto/script/format_sdcard.sh
index 6ed346b..d77eb9d 100755
--- a/lab-data/yocto/script/format_sdcard.sh
+++ b/lab-data/yocto/script/format_sdcard.sh
@@ -16,6 +16,7 @@ dd if=/dev/zero of=$1 bs=1M count=16
 if [ "$2" == "--compatibility" ]; then
   sfdisk --in-order --L --unit M $1 <<EOF
 1,48,0xE,*
+,,,-
 EOF
 else
   sfdisk $1 <<EOF




More information about the training-materials-updates mailing list