]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: automatically clean up orphaned files after auto-update (#42714)
authorLennart Poettering <lennart@amutable.com>
Wed, 24 Jun 2026 10:29:50 +0000 (12:29 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2026 10:29:50 +0000 (12:29 +0200)
commitbb025e38ccc2133de882e24f7c529d2f6ffb2167
tree8e9cbcfbe13aa74a39721e8633f94b347aa17226
parent72984e30b4f3d1dbd6dc97ec4d7caa8efbc3dcd7
parent5bd7cc7a6be465882d92b70181d702252adaebbb
sysupdate: automatically clean up orphaned files after auto-update (#42714)

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