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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-03-18 14:58:43 +01:00
parent 548816e058
commit ee97cef1ea
+1 -1
View File
@@ -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'