diff options
-rwxr-xr-x | functions/defaults.sh | 10 | ||||
-rw-r--r-- | share/bootloaders/extlinux/live.cfg.in | 4 | ||||
-rw-r--r-- | share/bootloaders/isolinux/live.cfg.in | 4 | ||||
-rw-r--r-- | share/bootloaders/pxelinux/live.cfg.in | 4 | ||||
-rw-r--r-- | share/bootloaders/syslinux/live.cfg.in | 4 |
5 files changed, 18 insertions, 8 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 8af9c8455..cc5c92d53 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -986,6 +986,16 @@ Set_defaults () LB_BOOTAPPEND_FAILSAFE="${LB_BOOTAPPEND_FAILSAFE:-memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}" # LB_BOOTAPPEND_LIVE + case "${LB_MODE}" in + ubuntu) + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=casper}" + ;; + + *) + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=live config}" + ;; + esac + if [ -n "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ] then case "${LB_BINARY_IMAGES}" in diff --git a/share/bootloaders/extlinux/live.cfg.in b/share/bootloaders/extlinux/live.cfg.in index 749dd2404..8dca4d50d 100644 --- a/share/bootloaders/extlinux/live.cfg.in +++ b/share/bootloaders/extlinux/live.cfg.in @@ -3,11 +3,11 @@ label live-@FLAVOUR@ menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ + append @LB_BOOTAPPEND_LIVE@ label live-@FLAVOUR@-failsafe menu label ^Live (@FLAVOUR@ failsafe) menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ + append @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ diff --git a/share/bootloaders/isolinux/live.cfg.in b/share/bootloaders/isolinux/live.cfg.in index 749dd2404..8dca4d50d 100644 --- a/share/bootloaders/isolinux/live.cfg.in +++ b/share/bootloaders/isolinux/live.cfg.in @@ -3,11 +3,11 @@ label live-@FLAVOUR@ menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ + append @LB_BOOTAPPEND_LIVE@ label live-@FLAVOUR@-failsafe menu label ^Live (@FLAVOUR@ failsafe) menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ + append @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ diff --git a/share/bootloaders/pxelinux/live.cfg.in b/share/bootloaders/pxelinux/live.cfg.in index 749dd2404..8dca4d50d 100644 --- a/share/bootloaders/pxelinux/live.cfg.in +++ b/share/bootloaders/pxelinux/live.cfg.in @@ -3,11 +3,11 @@ label live-@FLAVOUR@ menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ + append @LB_BOOTAPPEND_LIVE@ label live-@FLAVOUR@-failsafe menu label ^Live (@FLAVOUR@ failsafe) menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ + append @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ diff --git a/share/bootloaders/syslinux/live.cfg.in b/share/bootloaders/syslinux/live.cfg.in index 749dd2404..8dca4d50d 100644 --- a/share/bootloaders/syslinux/live.cfg.in +++ b/share/bootloaders/syslinux/live.cfg.in @@ -3,11 +3,11 @@ label live-@FLAVOUR@ menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ + append @LB_BOOTAPPEND_LIVE@ label live-@FLAVOUR@-failsafe menu label ^Live (@FLAVOUR@ failsafe) menu default kernel @KERNEL@ initrd @INITRD@ - append boot=live config @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ + append @LB_BOOTAPPEND_LIVE@ @LB_BOOTAPPEND_FAILSAFE@ |