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