about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2016-08-10 07:40:35 +0200
committerJuan RP <xtraeme@voidlinux.eu>2016-08-10 07:40:35 +0200
commitfdb41f88e85b41aa19a61e358138eba563917a51 (patch)
tree0bfa88931976ee9cdeecc49fabc8bad064921d58
parentde4c52a4a6ea274ea84e30a876a8ac5430355634 (diff)
downloadhrmpf-fdb41f88e85b41aa19a61e358138eba563917a51.tar.gz
hrmpf-fdb41f88e85b41aa19a61e358138eba563917a51.tar.xz
hrmpf-fdb41f88e85b41aa19a61e358138eba563917a51.zip
mkimage: active first partition (fat32) for bbb and others.
I activated the second partition by accident when the code was changed
to use sfdisk. Found and fixed by @pullmoll.

Close #80
-rw-r--r--mkimage.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in
index ed6b6e4..68c873d 100644
--- a/mkimage.sh.in
+++ b/mkimage.sh.in
@@ -154,8 +154,8 @@ _EOF
 *)
     sfdisk ${FILENAME} <<_EOF
 label: dos
-2048,${BOOT_FSSIZE},b
-${BOOT_SIZE},+,L,*
+2048,${BOOT_FSSIZE},b,*
+${BOOT_SIZE},+,L
 _EOF
     LOOPDEV=$(losetup --show --find --partscan $FILENAME)
     mkfs.${BOOT_FSTYPE} $_args ${LOOPDEV}p1 >/dev/null