Merge pull request #3220 from jlebon/pr/on-failure-isolate

ostree-prepare-root.service: add OnFailureJobMode=isolate
This commit is contained in:
Colin Walters 2024-03-21 13:57:45 -04:00 committed by GitHub
commit 3c25a93bac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,11 +19,13 @@ Documentation=man:ostree(1)
DefaultDependencies=no
ConditionKernelCommandLine=ostree
ConditionPathExists=/etc/initrd-release
OnFailure=emergency.target
After=sysroot.mount
Requires=sysroot.mount
Before=initrd-root-fs.target
OnFailure=emergency.target
OnFailureJobMode=isolate
[Service]
Type=oneshot
ExecStart=/usr/lib/ostree/ostree-prepare-root /sysroot