From 9c8e358edad9ec6b7b0569113f5448b0f3a19faa Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 13 Nov 2013 11:39:34 +0100 Subject: images: Add a way to put an automatic method on boot.iso syslinux for testing --- images/make_boot_img | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'images/make_boot_img') diff --git a/images/make_boot_img b/images/make_boot_img index b07776b27..457572ca0 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -729,6 +729,10 @@ sub boot_iso { output('.boot_iso/isolinux/isolinux.cfg', syslinux_cfg_all('', $with_gfxboot)); + if ($ENV{BOOT_AUTOMATIC_METHOD}) { + _ "sed -i 's|splash quiet\$|splash quiet automatic=$ENV{BOOT_AUTOMATIC_METHOD}|' .boot_iso/isolinux/isolinux.cfg" + } + _ "genisoimage -r -f -J -cache-inodes -V 'Mga Boot ISO' -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o $iso .boot_iso"; _ "isohybrid -o 1 $iso"; rm_rf('.boot_iso'); -- cgit v1.2.1