From: Zbigniew Jędrzejewski-Szmek Date: Tue, 10 Mar 2026 21:59:37 +0000 (+0100) Subject: units: stop using rm in system-update-cleanup.service X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee97cef1ead7fb97a33bf76bc963c0c4b43260db;p=thirdparty%2Fsystemd.git units: stop using rm in system-update-cleanup.service If we are running on a system without coreutils, rm might not be available. Let's use our own binary that should be available. --- diff --git a/units/system-update-cleanup.service b/units/system-update-cleanup.service index a54e74567e1..e9ff88c73c8 100644 --- a/units/system-update-cleanup.service +++ b/units/system-update-cleanup.service @@ -34,4 +34,4 @@ ConditionPathIsSymbolicLink=|/etc/system-update [Service] Type=oneshot -ExecStart=rm -fv /system-update /etc/system-update +ExecStart=systemd-tmpfiles --inline --remove 'r /system-update' 'r /etc/system-update'