common: use /sysroot mountpoint check in services
/run/ostree-booted does not exist on the composefs backend, these services will now run on both backends. fixes: atomic-desktops/tracker#133 Signed-off-by: renner <renner0@posteo.de>
This commit is contained in:
parent
e35be8fed0
commit
f560f88559
1 changed files with 2 additions and 2 deletions
|
|
@ -238,7 +238,7 @@ postprocess:
|
|||
Description=Workaround for Atomic Desktops to refresh the appstream cache
|
||||
Documentation=https://gitlab.com/fedora/ostree/sig/-/work_items/103
|
||||
ConditionPathIsReadWrite=/var
|
||||
ConditionPathExists=/run/ostree-booted
|
||||
ConditionPathIsMountPoint=/sysroot
|
||||
After=local-fs.target
|
||||
|
||||
[Service]
|
||||
|
|
@ -267,7 +267,7 @@ postprocess:
|
|||
Description=Workaround for Atomic Desktops to update mandb cache
|
||||
Documentation=https://gitlab.com/fedora/ostree/sig/-/work_items/62
|
||||
ConditionPathIsReadWrite=/var
|
||||
ConditionPathExists=/run/ostree-booted
|
||||
ConditionPathIsMountPoint=/sysroot
|
||||
After=local-fs.target
|
||||
|
||||
[Service]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue