]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
xen-image-maker: Fix wrong menu entry for pygrub
authoralpha197 <alpha197@users.noreply.github.com>
Tue, 13 May 2014 17:00:04 +0000 (19:00 +0200)
committeralpha197 <alpha197@users.noreply.github.com>
Tue, 13 May 2014 17:00:04 +0000 (19:00 +0200)
Should fix https://bugzilla.ipfire.org/show_bug.cgi?id=10499

config/xen-image/xen-image-maker.sh

index a42ad5bf06df70ca96f82716de1053d3e79b7905..1a2a004b4b594f8580af4d0b2636d81d4aa67483 100644 (file)
@@ -121,7 +121,7 @@ mkdir $MNThdd/boot/grub
 echo "timeout 10"                          > $MNThdd/boot/grub/grub.conf
 echo "default 0"                          >> $MNThdd/boot/grub/grub.conf
 echo "title IPFire ($KERN_TYPE-kernel)"   >> $MNThdd/boot/grub/grub.conf
-echo "  kernel /vmlinuz-$KVER-ipfire-xen root=/dev/xvda3 rootdelay=10 panic=10 console=$CONSOLE ro" \
+echo "  kernel /vmlinuz-$KVER-ipfire-$KERN_TYPE root=/dev/xvda3 rootdelay=10 panic=10 console=$CONSOLE ro" \
                                          >> $MNThdd/boot/grub/grub.conf
 echo "  initrd /ipfirerd-$KVER-$KERN_TYPE.img" >> $MNThdd/boot/grub/grub.conf
 echo "# savedefault 0" >> $MNThdd/boot/grub/grub.conf