]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: Allow a partial version to be vacuumed
authorPhilip Withnall <pwithnall@gnome.org>
Wed, 22 Apr 2026 16:28:31 +0000 (17:28 +0100)
committerPhilip Withnall <pwithnall@gnome.org>
Fri, 24 Apr 2026 14:29:34 +0000 (15:29 +0100)
commite1146fe710d0d1bbe0fdca974f66edd7f6c573cc
tree08858e654079acd24d968a7f1ccdf8ef7b1f3916
parent2babac90137ea4b6a70958133c783131d2619051
sysupdate: Allow a partial version to be vacuumed

Previously we prevented partial and pending versions from being
vacuumed. But until we support resuming downloads, there’s nothing else
which can be done with a partial version except to vacuum it and try
again.

Accordingly, allow partial versions (but not pending versions) to be
vacuumed.

This behaviour can be changed again once resuming downloads is supported
— at that point I expect we’ll want to try resuming the partial download
rather than throwing it all away and trying again.

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