Skip to content

Commit

Permalink
ignition-ostree: remove not needed Before= checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrero authored and HuijingHei committed Oct 10, 2023
1 parent f32f869 commit 46e40bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ After=ignition-disks.service
# Avoid racing with UUID regeneration
After=ignition-ostree-uuid-root.service
After=ignition-ostree-growfs.service
Before=initrd-root-fs.target
# https://issues.redhat.com/browse/OCPBUGS-16157
# On multipath systems mounting the /sysroot before
# the ignition-ostree services causes the transpose to fai.
# the ignition-ostree services causes the transpose to fail.
Before=sysroot.mount
Before=ignition-ostree-transposefs-restore.service
OnFailure=emergency.target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ After=ignition-ostree-growfs.service
Before=ignition-ostree-mount-firstboot-sysroot.service
# https://issues.redhat.com/browse/OCPBUGS-16157
# On multipath systems mounting the /sysroot before
# the ignition-ostree services causes the transpose to fai.
Before=initrd-root-fs.target
# the ignition-ostree services causes the transpose to fail.
Before=sysroot.mount
OnFailure=emergency.target
OnFailureJobMode=isolate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ ConditionKernelCommandLine=ostree
ConditionPathIsDirectory=/run/ignition-ostree-transposefs
# Any services looking at mounts need to order after this
# because it causes device re-probing.
# https://issues.redhat.com/browse/OCPBUGS-16157
# On multipath systems mounting the /sysroot before
# the ignition-ostree services causes the transpose to fai.
Before=initrd-root-fs.target
Before=sysroot.mount
After=coreos-gpt-setup.service
OnFailure=emergency.target
OnFailureJobMode=isolate
Expand Down

0 comments on commit 46e40bd

Please sign in to comment.