diff options
author | Eric Curtin <ecurtin@redhat.com> | 2023-04-17 22:09:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-04-25 17:40:41 +0200 |
commit | b9dac418372401742609bd600f05267ae3a724de (patch) | |
tree | 6de7b81b4c4deff66a693aab495d32ddd5209df2 /units | |
parent | d30d5a0374687e4bd5e0a0cceb38ed3a57d42d79 (diff) | |
download | systemd-b9dac418372401742609bd600f05267ae3a724de.tar.gz |
Support /etc/system-update for OSTree systems
This is required when / is immutable and cannot be written at runtime.
Co-authored-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'units')
-rw-r--r-- | units/system-update-cleanup.service | 4 |
1 files changed, 3 insertions, 1 deletions
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 |