Using initramfs generator specific boot parameters in syslinux configuration files.

This commit is contained in:
Daniel Baumann 2012-09-30 09:20:15 +02:00
parent b693418459
commit a9bb5418c9
5 changed files with 18 additions and 8 deletions

View File

@ -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

View File

@ -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@

View File

@ -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@

View File

@ -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@

View File

@ -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@