]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: automatically clean up orphaned files after auto-update 42714/head
authorLennart Poettering <lennart@amutable.com>
Tue, 23 Jun 2026 19:15:53 +0000 (21:15 +0200)
committerLennart Poettering <lennart@amutable.com>
Wed, 24 Jun 2026 08:42:16 +0000 (10:42 +0200)
commit5bd7cc7a6be465882d92b70181d702252adaebbb
tree1394ed405be6d050b2c964aeb0f03de4ce28662a
parent1dcd2966a0898c7d48a7390e2db5c84b8823f79b
sysupdate: automatically clean up orphaned files after auto-update

This adds an operation equivalent to "systemd-sysupdate cleanup" after
an update completed (regardless if that update was entirely successful
or not).  This ensures that any orphaned files are automatically cleaned
up, if they are not referenced by any transfer file's patterns anymore.

Follow-up for: d82e256bb9d151b185a8afec1fcacd8fbe80555c
man/systemd-sysupdate.xml
src/sysupdate/sysupdate.c
test/units/TEST-72-SYSUPDATE.sh
units/systemd-sysupdate.service