Commits

William Pitcock committed c1cc416

xen-grubby-stub (redhat): don't bother using grubby, it's too broken

  • Participants
  • Parent commits fbbaeaf

Comments (0)

Files changed (1)

File appliancekit/specs/redhat/xen-grubby-stub.tmpl

 	ver=`echo $bn | cut -d- -f2-`
 
 	echo "Found kernel version: $ver"
-	/sbin/grubby --add-kernel=/boot/vmlinuz-$ver --initrd=/boot/initramfs-$ver.img \
-		--title="$OS_REL ($ver)" --args="root=/dev/xvda1 ro" --make-default
+
+	echo "title $OS_REL ($ver)" >> /boot/grub/menu.lst
+	echo "	root (hd0)" >> /boot/grub/menu.lst
+	echo "	kernel /boot/vmlinuz-$ver root=/dev/xvda1 ro" >> /boot/grub/menu.lst
+	echo "	initrd /boot/initramfs-$ver.img" >> /boot/grub/menu.lst
 done