platforms/{livecd,livedvd}: fix live boot with dracut 059 which requires rd.live.overlay.overlayfs set on command line
This commit is contained in:
parent
5c541dd360
commit
786e681a04
@ -65,12 +65,13 @@ _EOF
|
||||
#
|
||||
# Boot entries
|
||||
#
|
||||
ROOT_ARGS="root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} rd.live.overlay.overlayfs"
|
||||
ISOID=
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
menuentry "openmamba GNU/Linux (${KERNEL_MAJVER}${K})" {
|
||||
echo "Loading /boot/vmlinuz${ISOID}"
|
||||
linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} selinux=0 quiet splash ro
|
||||
linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} selinux=0 quiet splash ro
|
||||
echo "Loading /boot/initrd${ISOID}.gz"
|
||||
initrd /boot/initrd${ISOID}.gz
|
||||
}
|
||||
@ -87,7 +88,7 @@ _EOF
|
||||
# cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
# menuentry "No modeset (${KERNEL_MAJVER}${K})" {
|
||||
# echo "Loading /boot/vmlinuz${ISOID}"
|
||||
# linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} selinux=0 quiet splash ro nomodeset
|
||||
# linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} selinux=0 quiet splash ro nomodeset
|
||||
# echo "Loading /boot/initrd${ISOID}.gz"
|
||||
# initrd /boot/initrd${ISOID}.gz
|
||||
# }
|
||||
@ -100,7 +101,7 @@ for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
menuentry "Debug mode (${KERNEL_MAJVER}${K})" {
|
||||
echo "Loading /boot/vmlinuz${ISOID}"
|
||||
linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} ro selinux=0 rddebug
|
||||
linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} ro selinux=0 rddebug
|
||||
echo "Loading /boot/initrd${ISOID}.gz"
|
||||
initrd /boot/initrd${ISOID}.gz
|
||||
}
|
||||
@ -112,7 +113,7 @@ for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
menuentry "Debug mode with nomodeset (${KERNEL_MAJVER}${K})" {
|
||||
echo "Loading /boot/vmlinuz${ISOID}"
|
||||
linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} ro selinux=0 rddebug nomodeset
|
||||
linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} ro selinux=0 rddebug nomodeset
|
||||
echo "Loading /boot/initrd${ISOID}.gz"
|
||||
initrd /boot/initrd${ISOID}.gz
|
||||
}
|
||||
|
@ -65,6 +65,7 @@ _EOF
|
||||
#
|
||||
# Boot entries
|
||||
#
|
||||
ROOT_ARGS="root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} rd.live.overlay.overlayfs"
|
||||
for l in $MULTILANGUAGE; do
|
||||
case $l in
|
||||
"en") LABEL="English"; LOCALELANG="en_US.UTF-8"; VCONSOLEKEYMAP="us" ;;
|
||||
@ -83,7 +84,7 @@ _EOF
|
||||
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
menuentry "openmamba GNU/Linux (${KERNEL_MAJVER}${K} - ${l})" {
|
||||
echo "Loading /boot/vmlinuz${ISOID}"
|
||||
linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} selinux=0 quiet splash ro locale.LANG=$LOCALELANG vconsole.keymap=$VCONSOLEKEYMAP
|
||||
linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} selinux=0 quiet splash ro locale.LANG=$LOCALELANG vconsole.keymap=$VCONSOLEKEYMAP
|
||||
echo "Loading /boot/initrd${ISOID}.gz"
|
||||
initrd /boot/initrd${ISOID}.gz
|
||||
}
|
||||
@ -100,20 +101,19 @@ _EOF
|
||||
# cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
# menuentry "No modeset (${KERNEL_MAJVER}${K})" {
|
||||
# echo "Loading /boot/vmlinuz${ISOID}"
|
||||
# linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} selinux=0 quiet splash ro nomodeset
|
||||
# linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} selinux=0 quiet splash ro nomodeset
|
||||
# echo "Loading /boot/initrd${ISOID}.gz"
|
||||
# initrd /boot/initrd${ISOID}.gz
|
||||
# }
|
||||
#_EOF
|
||||
# ISOID=$(($ISOID + 1))
|
||||
#done
|
||||
|
||||
ISOID=
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
menuentry "Debug mode (${KERNEL_MAJVER}${K} - ${l})" {
|
||||
echo "Loading /boot/vmlinuz${ISOID}"
|
||||
linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} ro selinux=0 rddebug locale.LANG=$LOCALELANG vconsole.keymap=$VCONSOLEKEYMAP
|
||||
linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} ro selinux=0 rddebug locale.LANG=$LOCALELANG vconsole.keymap=$VCONSOLEKEYMAP
|
||||
echo "Loading /boot/initrd${ISOID}.gz"
|
||||
initrd /boot/initrd${ISOID}.gz
|
||||
}
|
||||
@ -125,7 +125,7 @@ _EOF
|
||||
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||
menuentry "Debug mode with nomodeset (${KERNEL_MAJVER}${K} - ${l})" {
|
||||
echo "Loading /boot/vmlinuz${ISOID}"
|
||||
linux /boot/vmlinuz${ISOID} root=live:LABEL=${MAKEDIST_TARGET}_${PLATFORM} ro selinux=0 rddebug nomodeset locale.LANG=$LOCALELANG vconsole.keymap=$VCONSOLEKEYMAP
|
||||
linux /boot/vmlinuz${ISOID} ${ROOT_ARGS} ro selinux=0 rddebug nomodeset locale.LANG=$LOCALELANG vconsole.keymap=$VCONSOLEKEYMAP
|
||||
echo "Loading /boot/initrd${ISOID}.gz"
|
||||
initrd /boot/initrd${ISOID}.gz
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user