livemedia-creator: use rd.live.image instead of liveimg

This commit is contained in:
Brian C. Lane 2012-08-21 16:26:58 -07:00
parent 40d544c24b
commit 24c18233aa
4 changed files with 9 additions and 9 deletions

View File

@ -50,7 +50,7 @@ cat > /etc/rc.d/init.d/livesys << EOF
. /etc/init.d/functions
if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ]; then
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then
exit 0
fi
@ -238,7 +238,7 @@ cat > /etc/rc.d/init.d/livesys-late << EOF
. /etc/init.d/functions
if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
exit 0
fi

View File

@ -5,9 +5,9 @@ timeout 5
hiddenmenu
title @PRODUCT@ @VERSION@
findiso
kernel @KERNELPATH@ @ROOT@ liveimg rd.luks=0 rd.md=0 rd.dm=0
kernel @KERNELPATH@ @ROOT@ rd.live.image rd.luks=0 rd.md=0 rd.dm=0
initrd @INITRDPATH@
title Test this media & start @PRODUCT@
findiso
kernel @KERNELPATH@ @ROOT@ quiet liveimg rd.live.check rd.luks=0 rd.md=0 rd.dm=0
kernel @KERNELPATH@ @ROOT@ quiet rd.live.image rd.live.check rd.luks=0 rd.md=0 rd.dm=0
initrd @INITRDPATH@

View File

@ -21,11 +21,11 @@ search --no-floppy --set=root -l '@ISOLABEL@'
### BEGIN /etc/grub.d/10_linux ###
menuentry '@PRODUCT@ @VERSION@' --class fedora --class gnu-linux --class gnu --class os {
linuxefi @KERNELPATH@ @ROOT@
linuxefi @KERNELPATH@ @ROOT@ quiet rd.live.image rd.luks=0 rd.md=0 rd.dm=0
initrdefi @INITRDPATH@
}
menuentry 'Test this media & start @PRODUCT@' --class fedora --class gnu-linux --class gnu --class os {
linuxefi @KERNELPATH@ @ROOT@ quiet rd.live.check
linuxefi @KERNELPATH@ @ROOT@ quiet rd.live.image rd.live.check rd.luks=0 rd.md=0 rd.dm=0
initrdefi @INITRDPATH@
}

View File

@ -60,11 +60,11 @@ label linux
menu label ^Start @PRODUCT@ (default)
menu default
kernel vmlinuz
append initrd=initrd.img @ROOT@ quiet liveimg rd.luks=0 rd.md=0 rd.dm=0
append initrd=initrd.img @ROOT@ quiet rd.live.image rd.luks=0 rd.md=0 rd.dm=0
label check
menu label Test this ^media & start @PRODUCT@
kernel vmlinuz
append initrd=initrd.img @ROOT@ quiet liveimg rd.live.check rd.luks=0 rd.md=0 rd.dm=0
append initrd=initrd.img @ROOT@ quiet rd.live.image rd.live.check rd.luks=0 rd.md=0 rd.dm=0
menu separator # insert an empty line
# utilities submenu
menu begin ^Troubleshooting
@ -77,7 +77,7 @@ label vesa
@PRODUCT@.
endtext
kernel vmlinuz
append initrd=initrd.img @ROOT@ xdriver=vesa nomodeset quiet liveimg rd.luks=0 rd.md=0 rd.dm=0
append initrd=initrd.img @ROOT@ xdriver=vesa nomodeset quiet rd.live.image rd.luks=0 rd.md=0 rd.dm=0
label memtest
menu label Run a ^memory test
text help