Package: grub-pc Version: 1.96+20090725 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch karmic
When somebody runs upgrade-from-grub-legacy, it's reasonable to assume that they might want to reassess their decision on whether and where to install GRUB. I just worked out that this is why I haven't been getting GRUB installed anywhere on upgrade! Patch attached. Thanks, -- Colin Watson [cjwat...@ubuntu.com]
diff -u grub2-1.96+20090725/debian/legacy/upgrade-from-grub-legacy grub2-1.96+20090725/debian/legacy/upgrade-from-grub-legacy --- grub2-1.96+20090725/debian/legacy/upgrade-from-grub-legacy +++ grub2-1.96+20090725/debian/legacy/upgrade-from-grub-legacy @@ -5,6 +5,8 @@ grub-install --no-floppy --grub-setup=/bin/true "(hd0)" > /dev/null fi +echo RESET grub-pc/install_devices | debconf-communicate + # Pretend we're upgrading grub-pc. This will make our postinst DTRT. /var/lib/dpkg/info/grub-pc.postinst configure dummy-version