Using initramfs generator specific boot parameters in syslinux configuration files.
This commit is contained in:
parent
b693418459
commit
a9bb5418c9
|
@ -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
|
||||
|
|
|
@ -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@
|
||||
|
|
|
@ -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@
|
||||
|
|
|
@ -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@
|
||||
|
|
|
@ -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@
|
||||
|
|
Loading…
Reference in New Issue