GRUB2 packages, fedup

Adam Williamson awilliam at redhat.com
Tue Jan 8 22:43:36 UTC 2013


On Tue, 2013-01-08 at 12:33 -0700, Chris Murphy wrote:
> On Jan 8, 2013, at 12:22 PM, Chris Murphy <lists at colorremedies.com>
> wrote:
> 
> > What package is responsible for writing the file /etc/default/grub?
> Because a prior EFI system with grub-efi, which of course doesn't have
> an /etc/default/grub, doesn't have it after a fedup upgrade, and still
> doesn't have it after manually installing either the grub2 or
> grub2-efi packages.
> > 
> > I do have /etc/grub.d/ files, which is part of one or both of those
> packages.
> 
> Looks like anaconda normally produces /etc/default/grub, and fedup
> wouldn't be expected to do that since it's also not upgrading grub-efi
> to grub2-efi.
> 
> So then the question is if a future version of fedup is expected to do
> grub-efi to grub2-efi upgrades? Or if that's the realm of a new
> installation?

We did (try to...) convert installs from grub to grub2 when we did that
migration in Fedora...16?...when using the 'official upgrade
path' (anaconda, at the time), so that precedent suggests we should do
the same for EFI. If not in F18 with package updates, at least in F19.

It wouldn't be fedup's job exactly, I don't think. If I understand the
design right, fedup is designed so that other packages can ship scripts
which should be run during fedup operations. So the design would
probably be that the grub2-efi package should obsolete grub-efi, and
ship a fedup script that should be run on upgrade from grub-efi to
grub2-efi, to migrate the system across. I believe these are basically
dracut scripts. wwoods would no doubt be able to correct all the errors
I have inevitably made in the above :)
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net



More information about the devel mailing list