Re: Using systemd.offline-updates from an ostree based system

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

 



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@xxxxxxxxx>, 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux