mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
boot: Activate ostree-finalize-staged even earlier
Really, all `ostree admin finalize-staged` needs is access to `/sysroot` and `/boot`. So let's activate it right after `local-fs.target` so that it gets deactivated later in the shutdown process. This should allow us to conflict with less services still running and possibly writing things to `/etc`. Related: https://bugzilla.redhat.com/show_bug.cgi?id=1672283 Closes: #1840 Approved by: cgwalters
This commit is contained in:
parent
89c00e7eb7
commit
a8754ae370
@ -24,8 +24,8 @@ ConditionPathExists=/run/ostree-booted
|
||||
DefaultDependencies=no
|
||||
|
||||
RequiresMountsFor=/sysroot
|
||||
After=basic.target
|
||||
Before=multi-user.target final.target
|
||||
After=local-fs.target
|
||||
Before=basic.target final.target
|
||||
Conflicts=final.target
|
||||
|
||||
[Service]
|
||||
|
Loading…
x
Reference in New Issue
Block a user