Bug#543807: /etc/default/grub.local

Felix Zielcke fzielcke at z-51.de
Thu Aug 27 06:17:35 UTC 2009


Am Donnerstag, den 27.08.2009, 13:40 +0800 schrieb jidanni at jidanni.org:
> Package: grub-pc
> Version: 1.96+20090826-3
> Severity: wishlist
> 
> Gentlemen, in /etc/default/grub can you
> #include_if_exists /etc/default/grub.local
> or something?
> 
> You see at the end of
> /etc/default/grub
> I just wish to have
> 
> #jidanni:
> GRUB_TERMINAL=console GRUB_CMDLINE_LINUX_DEFAULT="quiet panic=15"
> case $(hostname) in *1) GRUB_TIMEOUT=45;; *) GRUB_TIMEOUT=11;; esac
> # Local Variables:
> # compile-command: "update-grub && grub-install /dev/hda"
> # End:
> 
> but on every single upgrade I have to go through the questions and then
> paste those lines back on the new version, etc. A big hassle.
> 
> I want to keep up with your latest /etc/default/grub version, but also
> have the final say at the end... all without triggering the whole
> question session during install.
> 
> OK, maybe /etc/default/grub.local is not the exact best place.
> 
> Anyway, e.g., exim4 has /etc/exim4/exim4.conf.localmacros etc.
> http://pkg-exim4.alioth.debian.org/README/README.Debian.html#macros
> 
> 
GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT are now preserved via
debconf.
the rest of the file is managed by ucf now which has a 3-way merge
feature. There shouldn't be a need for a .local file.
It should preserve your changes and only complain if we change
the /etc/default/grub file
Though it could be that it complained now with the debconf preserving
change.


-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list