summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_iso
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-05-23 07:17:15 +0200
committerDaniel Baumann <daniel@debian.org>2012-05-23 07:22:51 +0200
commit69194996f73fc04924dc3f1274ec8dd1b7c74701 (patch)
treeb38685baef71dcd356b43129bb39a98d586fe775 /scripts/build/lb_binary_iso
parentf759856a789fe52f66c5606280563b1c58d9c559 (diff)
downloadvyos-live-build-69194996f73fc04924dc3f1274ec8dd1b7c74701.tar.gz
vyos-live-build-69194996f73fc04924dc3f1274ec8dd1b7c74701.zip
Using /boot on live media instead of /isolinux or /syslinux in progress mode.
Diffstat (limited to 'scripts/build/lb_binary_iso')
-rwxr-xr-xscripts/build/lb_binary_iso13
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/build/lb_binary_iso b/scripts/build/lb_binary_iso
index 1db746395..ce9dbd167 100755
--- a/scripts/build/lb_binary_iso
+++ b/scripts/build/lb_binary_iso
@@ -127,8 +127,17 @@ case "${LB_BOOTLOADER}" in
syslinux)
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
- GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat"
- GENISOIMAGE_EXCLUDE="isolinux/isolinux.bin"
+ case "${LB_MODE}" in
+ progress)
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b boot/boot.bin -c boot/boot.cat"
+ GENISOIMAGE_EXCLUDE="boot/boot.bin"
+ ;;
+
+ *)
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat"
+ GENISOIMAGE_EXCLUDE="isolinux/isolinux.bin"
+ ;;
+ esac
;;
yaboot)