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
This commit is contained in:
parent
de4c52a4a6
commit
fdb41f88e8
@ -154,8 +154,8 @@ _EOF
|
|||||||
*)
|
*)
|
||||||
sfdisk ${FILENAME} <<_EOF
|
sfdisk ${FILENAME} <<_EOF
|
||||||
label: dos
|
label: dos
|
||||||
2048,${BOOT_FSSIZE},b
|
2048,${BOOT_FSSIZE},b,*
|
||||||
${BOOT_SIZE},+,L,*
|
${BOOT_SIZE},+,L
|
||||||
_EOF
|
_EOF
|
||||||
LOOPDEV=$(losetup --show --find --partscan $FILENAME)
|
LOOPDEV=$(losetup --show --find --partscan $FILENAME)
|
||||||
mkfs.${BOOT_FSTYPE} $_args ${LOOPDEV}p1 >/dev/null
|
mkfs.${BOOT_FSTYPE} $_args ${LOOPDEV}p1 >/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user