tapply gio's patch to set bootable flag on the vfat partition - libdevuansdk - common library for devuan's simple distro kits HTML git clone https://git.parazyd.org/libdevuansdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit eb25c1df0e4df2dc9209a4af0a657930fddd0282 DIR parent c209032462a73c6df1af5a90170f4eafe93dcadd HTML 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: M zlibs/imaging | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/zlibs/imaging b/zlibs/imaging t@@ -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