summaryrefslogtreecommitdiffstats
path: root/master/debian/install_stage2_confusion.patch
diff options
context:
space:
mode:
authorroot <root@arianrhod.panaceas.james.local>2012-11-16 11:52:02 +0000
committerroot <root@arianrhod.panaceas.james.local>2012-11-16 11:52:02 +0000
commita109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce (patch)
tree9a6b9c35465b23ce5871feec5e9ba0c7d5ac7797 /master/debian/install_stage2_confusion.patch
downloadgrub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.tar.gz
grub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.tar.bz2
grub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.zip
fish
Diffstat (limited to 'master/debian/install_stage2_confusion.patch')
-rw-r--r--master/debian/install_stage2_confusion.patch24
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.