commit eb25c1df0e4df2dc9209a4af0a657930fddd0282
parent c209032462a73c6df1af5a90170f4eafe93dcadd
Author: parazyd <parazyd@dyne.org>
Date: Fri, 16 Jun 2017 14:24:59 +0200
apply gio's patch to set bootable flag on the vfat partition
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/zlibs/imaging b/zlibs/imaging
@@ -44,6 +44,8 @@ image_partition_raw_dos() {
parted $workdir/${image_name}.img --script -- mklabel msdos
parted $workdir/${image_name}.img --script -- mkpart primary ${parted_boot}
parted $workdir/${image_name}.img --script -- mkpart primary ${parted_root}
+ [ -n "$bootable_part" ] && \
+ parted "$workdir/${image_name}.img" --script -- set "$bootable_part" boot on
## get loopdevice (see ./helpers)
findloopdev