Bug#556738: grub-pc: Displays "being upgraded" dialog during new installations from D-I

Felix Zielcke fzielcke at z-51.de
Tue Nov 17 19:36:55 UTC 2009


Am Dienstag, den 17.11.2009, 20:23 +0100 schrieb Christian Perrier:
> Quoting Frans Pop (elendil at planet.nl):
> > On Tuesday 17 November 2009, Frans Pop wrote:
> > > During a new installation grub-pc incorrectly displays the dialog that
> > > it is being upgraded and asks to select which device to run grub-install
> > > on.
> > 
> > IMO this should be a release blocker, even for an alpha release.
> 
> Agreed.
> Do we have GRUB maintainers listening?
> 

Sorry for my first mail just sent to you. Forgot this isn't grub-devel.
Anyway the test we use in the postinst is this for that debconf prompt:

if test -e /boot/grub/stage2 && test -e /boot/grub/menu.lst && ! test -e /boot/grub/core.img ; then
[...]
else
  db_subst grub-pc/install_devices CHOICES `grub-mkdevicemap -m - | sed -e "/^(fd[0-9]\+)/d;s,.*\t,,g" | tr '\n' ',' | sed -e 's/,$//g;s/,/, /g'`
  db_input high grub-pc/install_devices || true
  db_go

So it should only happen if you tried GRUB Legacy first.
But I try that now.
Any suggestion so that wouldn't even asked inside d-i if GRUB Legacy was tried first?



-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer






More information about the Pkg-grub-devel mailing list