From fdb41f88e85b41aa19a61e358138eba563917a51 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 10 Aug 2016 07:40:35 +0200 Subject: 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 --- mkimage.sh.in | 4 ++-- 1 file 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 -- cgit 1.4.1