Bug#533026: grub2: more straightforward direction in /etc/default/grub

Colin Watson cjwatson at ubuntu.com
Sun Jun 14 19:36:48 UTC 2009


On Sun, Jun 14, 2009 at 03:53:11PM +0200, Felix Zielcke wrote:
> Am Samstag, den 13.06.2009, 23:05 +0100 schrieb Colin Watson:
> > I think it might be useful to have some slightly more straightforward
> > direction in /etc/default/grub. The start of the file currently says:
> > 
> > # This file is sourced by update-grub, and its variables are propagated
> > # to its children in /etc/grub.d/
> > 
> > It seems to me that that's a bit oblique about the correct way to deal
> > with editing that file. How about prefacing that with something like
> > this:
> > 
> > # If you change this file, run 'update-grub' afterwards to update
> > # /boot/grub/grub.cfg.
> 
> Thanks Colin, just applied it. Now people can even test the 3-way merge
> feature of ucf. Worked fine for me.

Thanks!

> But I wonder if we should keep update-grub there or change it to
> grub-mkconfig which now actually generates the config.
> update-grub is now just a stub arround it.

Well, since grub-mkconfig outputs to stdout by default, update-grub does
save on typing some tedious command-line arguments.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]





More information about the Pkg-grub-devel mailing list