]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: Add partial/pending flags to UpdateSet
authorPhilip Withnall <pwithnall@gnome.org>
Wed, 31 Dec 2025 00:42:17 +0000 (00:42 +0000)
committerPhilip Withnall <pwithnall@gnome.org>
Mon, 9 Feb 2026 12:05:01 +0000 (12:05 +0000)
commit594d0345fa997446b4c2dcfbccf3f83257bb55a3
tree96b83f1d38200510ed00aa1f9fdd2e6f3c4be4bd
parentba9687adefa46e1b0f1f111248e74cd7dec75ff6
sysupdate: Add partial/pending flags to UpdateSet

This commit adds the flags and some basic formatting/printing of them.
Following commits will integrate them into the update/acquire/install
logic.

`UPDATE_PARTIAL` is set if any of the instances in the `UpdateSet` are
partial, i.e. have been partially downloaded.

`UPDATE_PENDING` is set if any of the instances in the `UpdateSet` are
pending, i.e. have been acquired (downloaded) but not yet installed.

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