fi
#
+# If this is a Jaunty machine, the fix from LP #291256 caused our
+# patch to update-grub to not work, so let's use that mechanism
+# instead
+#
+sed -i -e 's/indomU=detect/indomU=true/' /boot/grub/menu.lst
+
+#
# Regenerate automagic kernels list
#
chroot ${prefix} /usr/sbin/update-grub -y