From 1cba868e2e32a2705400b8d69f7e24cbd04779de Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Fri, 8 Apr 2011 12:41:58 +0200 Subject: [PATCH] Fixed CD isolinux.cfg generator. Do not remove additional kernel commandline parameters. --- anaconda/scripts/mk-images.x86 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anaconda/scripts/mk-images.x86 b/anaconda/scripts/mk-images.x86 index a560034..b201f2a 100644 --- a/anaconda/scripts/mk-images.x86 +++ b/anaconda/scripts/mk-images.x86 @@ -100,7 +100,7 @@ makeBootImages() { # insert XEN boot options 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 --- $initrd/" $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 # copy in memtest if present if [ -f $IMGPATH/usr/lib/anaconda-runtime/boot/memtest* ]; then