]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: Split the update verb into two parts internally
authorPhilip Withnall <pwithnall@gnome.org>
Wed, 31 Dec 2025 00:46:25 +0000 (00:46 +0000)
committerPhilip Withnall <pwithnall@gnome.org>
Mon, 9 Feb 2026 12:05:05 +0000 (12:05 +0000)
commitcf7cccf2f7949736e47dd035d022554cd6f1609e
tree28893459782659af326fcb5803183c9498fd6276
parent594d0345fa997446b4c2dcfbccf3f83257bb55a3
sysupdate: Split the update verb into two parts internally

An ‘acquire’ (download) part, and an ‘install’ (apply) part.

Following commits will expose these as separate verbs and D-Bus methods,
but this commit is the one which rearranges the internals.

If doing an ‘install’, a mirror version of the ‘acquire’ has to happen
first to make sure the transfer’s internal state is correct.

‘Acquire’ can require an internet connection, but ‘install’ will always
work with `--offline` specified.

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