Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Add ConditionPathExists=/etc/initrd-release to targets #140

Merged
merged 1 commit into from
Dec 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dracut/30ignition/ignition-complete.target
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[Unit]
Description=Ignition Complete
Before=initrd.target
ConditionPathExists=/etc/initrd-release

# initrd.target has OnFailureJobMode=replace-irreversibly, which seems to
# cause unit restart loops in the initramfs if one of our units fails. Thus
Expand Down
1 change: 1 addition & 0 deletions dracut/30ignition/ignition-subsequent.target
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[Unit]
Description=Subsequent (Not Ignition) boot complete
Before=initrd.target
ConditionPathExists=/etc/initrd-release

# See comments in ignition-complete.target
OnFailure=emergency.target
Expand Down