live uses root not inst.stage2
I changed too many templates when changing to inst.stage2, live still obviously needs root= in order to boot.
This commit is contained in:
parent
2559dc64d8
commit
26ea847e8f
@ -40,10 +40,9 @@ ${make_efiboot("images/efiboot.img")}
|
|||||||
replace @SPLASHPATH@ /EFI/BOOT/splash.xpm.gz ${eficonf}
|
replace @SPLASHPATH@ /EFI/BOOT/splash.xpm.gz ${eficonf}
|
||||||
replace @ISOLABEL@ '${isolabel}' ${eficonf}
|
replace @ISOLABEL@ '${isolabel}' ${eficonf}
|
||||||
%if disk:
|
%if disk:
|
||||||
## FIXME: using root= causes problems with product.img (see bug 811979)
|
replace @ROOT@ root=live:LABEL=ANACONDA ${eficonf}
|
||||||
replace @ROOT@ inst.stage2:LABEL=ANACONDA ${eficonf}
|
|
||||||
%else:
|
%else:
|
||||||
replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev}' ${eficonf}
|
replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${eficonf}
|
||||||
%endif
|
%endif
|
||||||
%if efiarch == 'IA32':
|
%if efiarch == 'IA32':
|
||||||
copy ${eficonf} ${EFIBOOTDIR}/BOOT.conf
|
copy ${eficonf} ${EFIBOOTDIR}/BOOT.conf
|
||||||
|
@ -17,7 +17,7 @@ install ${configdir}/boot.msg ${BOOTDIR}
|
|||||||
## configure bootloader
|
## configure bootloader
|
||||||
replace @VERSION@ ${product.version} ${BOOTDIR}/boot.msg
|
replace @VERSION@ ${product.version} ${BOOTDIR}/boot.msg
|
||||||
replace @PRODUCT@ '${product.name}' ${BOOTDIR}/boot.msg
|
replace @PRODUCT@ '${product.name}' ${BOOTDIR}/boot.msg
|
||||||
replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev}' ${BOOTDIR}/silo.conf
|
replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${BOOTDIR}/silo.conf
|
||||||
|
|
||||||
## install kernels
|
## install kernels
|
||||||
## FIXME: this will overwrite if there are multiple sparc kernels
|
## FIXME: this will overwrite if there are multiple sparc kernels
|
||||||
|
@ -25,7 +25,7 @@ install boot/memtest* ${BOOTDIR}/memtest
|
|||||||
## configure bootloader
|
## configure bootloader
|
||||||
replace @VERSION@ ${product.version} ${BOOTDIR}/grub.conf ${BOOTDIR}/isolinux.cfg ${BOOTDIR}/*.msg
|
replace @VERSION@ ${product.version} ${BOOTDIR}/grub.conf ${BOOTDIR}/isolinux.cfg ${BOOTDIR}/*.msg
|
||||||
replace @PRODUCT@ '${product.name}' ${BOOTDIR}/grub.conf ${BOOTDIR}/isolinux.cfg ${BOOTDIR}/*.msg
|
replace @PRODUCT@ '${product.name}' ${BOOTDIR}/grub.conf ${BOOTDIR}/isolinux.cfg ${BOOTDIR}/*.msg
|
||||||
replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev}' ${BOOTDIR}/isolinux.cfg
|
replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${BOOTDIR}/isolinux.cfg
|
||||||
|
|
||||||
## install kernels
|
## install kernels
|
||||||
mkdir ${KERNELDIR}
|
mkdir ${KERNELDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user