[systemd-devel] Using systemd.offline-updates from an ostree based system

Ryan Gonzalez rymg19 at gmail.com
Fri Apr 26 03:59:55 UTC 2019


Hmm not sure exactly when the offline updates generator runs, but maybe the symlink could be made in /sysroot? Then depending on how early the generator runs, it might even still be on / if it's before the switchroot.

--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
On Apr 25, 2019, 11:10 AM -0500, Richard Hughes <hughsient at gmail.com>, wrote:
> Hi all,
>
> I use the offline updates feature
> https://www.freedesktop.org/software/systemd/man/systemd.offline-updates.html
> in fwupd to install some kinds of firmware. I've just found out this
> doesn't work on Fedora SilverBlue as / is immutable and of course
> creating the /system-update symlink fails.
>
> I'm using the offline update mode rather than updating "live" as I'm
> updating the keyboard controller itself, which means the keyboard (and
> power button!) is disabled and various things like ACPI battery
> reporting also get upset for the 30 seconds of flashing. I'm stuck for
> ideas. I suppose I could write a new boot entry (BLS?) that has a new
> kernel command line argument set to go into system-update.target (and
> patch src/system-update-generator/system-update-generator.c) although
> I don't think BLS has the concept of a "oneshot" entry that would
> delete after running it once.
>
> All ideas welcome, thanks.
>
> Richard
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190425/9aa0719c/attachment.html>


More information about the systemd-devel mailing list