Blacklist aesni-intel module in kernel commandline. #102
Our current kernel has broken AESNI encryption module.
This commit is contained in:
parent
6dd80acc47
commit
7e94e132f7
@ -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')
|
f.write(' max_loop=255 rdblacklist=aesni-intel')
|
||||||
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\" rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM --- $initrd/" $MBD_BOOTTREE/isolinux.cfg
|
sed -i "s/append initrd=.*/append $xenimage --- $kernelimage stage2=hd:LABEL=\"$CDLABEL\" rdblacklist=aesni-intel --- $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