diff options
Diffstat (limited to 'images')
-rw-r--r-- | images/NEWS | 2 | ||||
-rwxr-xr-x | images/make_boot_img | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/images/NEWS b/images/NEWS index fbb047944..eab97dad3 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,5 @@ +- add BOOT_AUTOMATIC_METHOD to inject command line params into boot.iso syslinux + Version 2.1 - 5 November 2013 by Colin Guthrie - revert back to static per-arch isolinux.cfg files 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'); |