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 From 8a22f2c03d28f5012ef68ef0b7048428638c4ff9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Aug 2016 08:19:31 +0200 Subject: mkimage: typo fix (close #80). --- mkimage.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkimage.sh.in b/mkimage.sh.in index 68c873d..1c70f92 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -155,7 +155,7 @@ _EOF sfdisk ${FILENAME} <<_EOF label: dos 2048,${BOOT_FSSIZE},b,* -${BOOT_SIZE},+,L +${BOOT_FSSIZE},+,L _EOF LOOPDEV=$(losetup --show --find --partscan $FILENAME) mkfs.${BOOT_FSTYPE} $_args ${LOOPDEV}p1 >/dev/null -- cgit 1.4.1