tags 614927 pending thanks On Thu, Feb 24, 2011 at 10:46:55AM +0100, Nicolas George wrote: > When calling grub-install with --root-directory, to install Grub on an USB > stick for example, the following lines are executed at the end: > > # If vestiges of GRUB Legacy still exist, tell the Debian packaging that > # they can ignore them. > if test -e /boot/grub/stage2 && test -e /boot/grub/menu.lst; then > touch /boot/grub/grub2-installed > fi > > (report-bugs shows version 1.98+20100804-14, but these lines are identical > in version 1.99~rc1-3) > > If grub-install was started without root privileges, this causes a harmless > warning. > > If grub-install was started with root privileges, it may cause the > /boot/grub/grub2-installed file to be created although Grub2 has not > actually been installed on the system. > > The attached patch probably fixes it. The system information below is > probably irrelevant for this bug.
Thanks! I've applied this for my next upload to unstable. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org