anaconda: update default kernel parameters
Do not blacklist aesni-intel. Load pciback in initramfs, before network drivers.
This commit is contained in:
parent
ab89a6d8c8
commit
d0c648cbbb
@ -356,7 +356,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
|
|||||||
f.write('\tmodule %s ro%s' %(kernelFile, realroot))
|
f.write('\tmodule %s ro%s' %(kernelFile, realroot))
|
||||||
if self.args.get():
|
if self.args.get():
|
||||||
f.write(' %s' % self.args.get())
|
f.write(' %s' % self.args.get())
|
||||||
f.write(' max_loop=255 rdblacklist=aesni-intel')
|
f.write(' max_loop=255 rdloaddriver=pciback')
|
||||||
f.write('\n')
|
f.write('\n')
|
||||||
if initrd:
|
if initrd:
|
||||||
f.write('\tmodule %s%s\n' % (cfPath, initrd))
|
f.write('\tmodule %s%s\n' % (cfPath, initrd))
|
||||||
|
@ -100,7 +100,7 @@ makeBootImages() {
|
|||||||
|
|
||||||
# insert XEN boot options
|
# insert XEN boot options
|
||||||
sed -i 's/kernel vmlinuz/kernel mboot.c32/' $MBD_BOOTTREE/isolinux.cfg
|
sed -i 's/kernel vmlinuz/kernel mboot.c32/' $MBD_BOOTTREE/isolinux.cfg
|
||||||
sed -i "s/append initrd=[^ ]*\(.*\)/append $xenimage --- $kernelimage stage2=hd:LABEL=\"$CDLABEL\" rdblacklist=aesni-intel\1 --- $initrd/" $MBD_BOOTTREE/isolinux.cfg
|
sed -i "s/append initrd=[^ ]*\(.*\)/append $xenimage --- $kernelimage stage2=hd:LABEL=\"$CDLABEL\" rdloaddriver=pciback\1 --- $initrd/" $MBD_BOOTTREE/isolinux.cfg
|
||||||
|
|
||||||
# copy in memtest if present
|
# copy in memtest if present
|
||||||
if [ -f $IMGPATH/usr/lib/anaconda-runtime/boot/memtest* ]; then
|
if [ -f $IMGPATH/usr/lib/anaconda-runtime/boot/memtest* ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user