diff options
Diffstat (limited to 'master/debian/install_stage2_confusion.patch')
-rw-r--r-- | master/debian/install_stage2_confusion.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/master/debian/install_stage2_confusion.patch b/master/debian/install_stage2_confusion.patch new file mode 100644 index 0000000..ff840ef --- /dev/null +++ b/master/debian/install_stage2_confusion.patch @@ -0,0 +1,24 @@ +Description: If GRUB Legacy is still around, tell packaging to ignore it +Author: Colin Watson <cjwatson@debian.org> +Bug-Debian: http://bugs.debian.org/586143 +Forwarded: not-needed +Last-Update: 2010-06-18 + +Index: b/util/grub-install.in +=================================================================== +--- a/util/grub-install.in ++++ b/util/grub-install.in +@@ -660,6 +660,13 @@ + fi + fi + ++# If vestiges of GRUB Legacy still exist, tell the Debian packaging that ++# they can ignore them. ++if test -z "$rootdir" && \ ++ test -e /boot/grub/stage2 && test -e /boot/grub/menu.lst; then ++ touch /boot/grub/grub2-installed ++fi ++ + echo "Installation finished. No error reported." + + # Bye. |