There doesn't seem to be a switch to prevent killing a manually created menu.lst
Matthias Schniedermeyer
ms at citd.de
Tue May 29 16:04:26 UTC 2007
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.
Bis denn
--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
More information about the Pkg-grub-devel
mailing list