[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#978636: move to merged-usr-only?



On Dec 29, Matthias Klumpp <matthias@tenstral.net> wrote:

> For package upgrades, we can already perform so-called "offline
> upgrades", where the system reboots into a smaller systemd target,
> applies all updates and then reboots again into the updated system.
> This is implemented in PackageKit as an option and used by GNOME.
> Fwupd uses similar concepts for certain firmware updates as well.
> Maybe hooking into these facilities is also an option for the usrmerge
> upgrade? (unless of course systemd is still interfering even in a
> minimal target, that would be a dealbreaker).
It depends on which units are started (this trouble is caused by the
ProtectSystem directive and maybe others like it): having usrmerge 
stop and then restart the daemons involved would work as well, but I am 
not sure of how many corner cases (gdm...) we would find before just 
rebooting would become simpler again.
I think that depending on PackageKit would be more complex than an 
initramfs-tools hook, since just about everybody is supposed to have 
that around.

-- 
ciao,
Marco

Attachment: signature.asc
Description: PGP signature


Reply to: