There doesn't seem to be a switch to prevent killing a manually created menu.lst

Robert Millan rmh at aybabtu.com
Tue May 29 18:01:59 UTC 2007


On Tue, May 29, 2007 at 06:04:26PM +0200, Matthias Schniedermeyer wrote:
> Robert Millan wrote:
> >On Mon, May 21, 2007 at 09:22:31AM +0200, Matthias Schniedermeyer wrote:
> >>Hi
> >>
> >>
> >>I use SID and in the last update the package "memtest86+" was updated.
> >>As part of its postinst it called "update-grub" which in turn totally 
> >>fucked up my manually crafted configuration.
> >>
> >>So to prevent such accidents in the future i "dpkg-divert"ed the 
> >>update-grub-script out of the way and replaced it with "/bin/true", as 
> >>there doesn't seam to exist a other (obvious and/or elegant)
> >>method to make update-grub a no-op.
> >>
> >>IMO a /etc/default/grub to make update-grub a no-op is missing.
> >
> >Did you really mean menu.lst (grub legacy), or grub.cfg (grub2)?  The 
> >matter
> >of your concern is addressed quite differently in each of these.
> 
> menu.lst IOW grub legacy.
> 
> But i have to add something to my bug-report above, after a second look the 
> file didn't appear to be "fucked up", the auto-generated menu.lst was just 
> appended to the file.

Correct (unlike grub2, where grub.cfg is dynamicaly generated).

-- 
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