]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: Implement acquire and install steps for transfers
authorPhilip Withnall <pwithnall@gnome.org>
Wed, 31 Dec 2025 00:02:06 +0000 (00:02 +0000)
committerPhilip Withnall <pwithnall@gnome.org>
Mon, 9 Feb 2026 12:03:47 +0000 (12:03 +0000)
commit48fff6a27aab434035d5ead65d48a6f860f5b656
treeae8f1b3a4d313bf0d3f70a55f10e1dcc4c0c4274
parentedf7679faf98a20687dacc928d0c3f9fecccbac2
sysupdate: Implement acquire and install steps for transfers

Instead of using a random temporary path for file transfers, use a
predictable one which indicates whether the transfer is partially
complete or pending installation. Similarly for partitions.

This is another step towards being able to split the ‘update’ step into
‘acquire’ and ‘install’.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: https://github.com/systemd/systemd/issues/34814
src/sysupdate/sysupdate-transfer.c
src/sysupdate/sysupdate-transfer.h