[PATCH 4/6] bootloader/payload: Add Payload.handlesBootloaderConfiguration() boolean
Vratislav Podzimek
vpodzime at redhat.com
Tue Apr 29 12:13:16 UTC 2014
On Tue, 2014-04-29 at 11:53 +0000, Colin Walters wrote:
> On Tue, Apr 29, 2014 at 4:45 AM, Vratislav Podzimek
> <vpodzime at redhat.com> wrote:
> > At least this piece of code:
> > # write out /etc/sysconfig/kernel
> > writeSysconfigKernel(storage, version, instClass)
> > Has to be done even if payload handles boot loader configuration.
>
> While I didn't originally omit it intentionally, let's make that
> intentional now - that file isn't used by OSTree installs at least.
>
>
> /etc/sysconfig/kernel is part of the hacky bridging between the
> package world and the kernel world. But in OSTree, they are bound
> together. You can't install (or remove) a kernel package as an
> individual operation. To make any change, you have to create a new
> tree (with e.g. a different kernel), and then OSTree takes care of
> atomically updating your bootloader configuration.
That doesn't mean that every payload handling boot loader configuration
works the same way.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list