Don't set a root= argument (#837208)
Using root= overrides the anaconda magic code for finding product.img and updates.img. Anaconda can find the CDROM itself without needing root=, though, so we can omit it safely for boot.iso.
This commit is contained in:
parent
4715134502
commit
5437557846
@ -35,10 +35,11 @@ ${make_efiboot("images/efiboot.img")}
|
||||
replace @INITRDPATH@ /${kdir}/initrd.img ${eficonf}
|
||||
replace @SPLASHPATH@ /EFI/BOOT/splash.xpm.gz ${eficonf}
|
||||
%if disk:
|
||||
## FIXME: using root= causes problems with product.img (see bug 811979)
|
||||
replace @ROOT@ root=live:LABEL=ANACONDA ${eficonf}
|
||||
%else:
|
||||
## NOTE: this needs to match the boot.iso label (see x86.tmpl)
|
||||
replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${eficonf}
|
||||
## anaconda can find CDROM devices automatically so no root= is needed
|
||||
replace @ROOT@ '' ${eficonf}
|
||||
%endif
|
||||
%if efiarch == 'IA32':
|
||||
copy ${eficonf} ${EFIBOOTDIR}/BOOT.conf
|
||||
|
@ -18,7 +18,8 @@ prepboot = ""
|
||||
## with '_', which means we won't need any udev escapes.
|
||||
isolabel = ''.join(ch if ch.isalnum() else '_' for ch in isolabel)
|
||||
|
||||
rootarg = "root=live:CDLABEL=%s" % isolabel
|
||||
## Anaconda finds the CDROM device automatically
|
||||
rootarg = ""
|
||||
%>
|
||||
|
||||
mkdir ${LIVEDIR}
|
||||
|
@ -25,7 +25,8 @@ install boot/memtest* ${BOOTDIR}/memtest
|
||||
## configure bootloader
|
||||
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 @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${BOOTDIR}/isolinux.cfg
|
||||
## anaconda will find the CDROM automatically
|
||||
replace @ROOT@ '' ${BOOTDIR}/isolinux.cfg
|
||||
|
||||
## install kernels
|
||||
mkdir ${KERNELDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user