projects
/
invirt/packages/invirt-autoinstaller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In invirt-autoinstaller:
[invirt/packages/invirt-autoinstaller.git]
/
common
/
usr
/
lib
/
xen-tools
/
debian.d
/
93-setup-grub
diff --git
a/common/usr/lib/xen-tools/debian.d/93-setup-grub
b/common/usr/lib/xen-tools/debian.d/93-setup-grub
index
26fbdda
..
61deefb
100755
(executable)
--- a/
common/usr/lib/xen-tools/debian.d/93-setup-grub
+++ b/
common/usr/lib/xen-tools/debian.d/93-setup-grub
@@
-68,6
+68,13
@@
if [ "$(chroot ${prefix} lsb_release -is)" = "Ubuntu" ] && \
fi
#
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
# Regenerate automagic kernels list
#
chroot ${prefix} /usr/sbin/update-grub -y