From b9dac418372401742609bd600f05267ae3a724de Mon Sep 17 00:00:00 2001 From: Eric Curtin Date: Mon, 17 Apr 2023 22:09:24 +0100 Subject: Support /etc/system-update for OSTree systems This is required when / is immutable and cannot be written at runtime. Co-authored-by: Richard Hughes --- units/system-update-cleanup.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'units') diff --git a/units/system-update-cleanup.service b/units/system-update-cleanup.service index 5a5dd725a1..a54e74567e 100644 --- a/units/system-update-cleanup.service +++ b/units/system-update-cleanup.service @@ -29,7 +29,9 @@ SuccessAction=reboot # reboot or some other action on its own. ConditionPathExists=|/system-update ConditionPathIsSymbolicLink=|/system-update +ConditionPathExists=|/etc/system-update +ConditionPathIsSymbolicLink=|/etc/system-update [Service] Type=oneshot -ExecStart=rm -fv /system-update +ExecStart=rm -fv /system-update /etc/system-update -- cgit v1.2.1