Bug#423217: grub-pc: Should not set itself up completely
automatically on installation
Robert Millan
rmh at aybabtu.com
Fri May 11 13:52:15 UTC 2007
On Fri, May 11, 2007 at 08:44:32AM +0200, Robert Millan wrote:
> On Thu, May 10, 2007 at 06:10:46PM -0300, Otavio Salvador wrote:
> > Robert Millan <rmh at aybabtu.com> writes:
> >
> > > On Thu, May 10, 2007 at 08:57:14PM +0200, Frans Pop wrote:
> > >> > > This is only valid for updates, not for new installs.
> > >>
> > >> So, you would only have to do this _on upgrades_ of grub-pc, not for new
> > >> installs. This can be tested separately. Still no need to run anything
> > >> for new installs.
> > >
> > > We could test if we're upgrading grub-pc, or if we're installing new grub-pc
> > > but grub was present before (that one is trickier, any ideas?). It would also
> > > be helpful for us to distinguish between the two.
> >
> > Maybe grub-probe might be extended to detect if there's any version
> > already installed on MBR and report the GRUB version? That might be
> > useful for upgrades and our bug reporting script too.
>
> That would require adding versioning information to boot.img. I suggest asking
> grub-devel and see what they think.
or maybe we can use "dpkg -s grub" to check if we're upgrading from grub legacy
in preinst? Not sure if Policy allows that though.
--
Robert Millan
My spam trap is honeypot at aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
More information about the Pkg-grub-devel
mailing list