This repository was archived by the owner on May 30, 2023. It is now read-only.
sys-kernel/bootengine: prevent boot loop on ignition failure#1262
Merged
Conversation
8bb71eb to
0f6c5ad
Compare
krnowak
suggested changes
Sep 9, 2021
This resolves an issue that causes the initramfs to boot loop when ignition fails. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
0f6c5ad to
5d632c6
Compare
sayanchowdhury
approved these changes
Sep 10, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sys-kernel/bootengine: prevent boot loop on ignition failure
This fixes boot loops in initramfs we have been seeing when ignition fails. The emergency.target needs to be isolated to ensure other initramfs units don't continue booting. This is equivalent to this fix in CoreOS coreos/ignition-dracut#188.
This pulls in flatcar/bootengine#28.
Fixes flatcar/Flatcar#434
Fixes flatcar/Flatcar#454
How to use
Follow instructions in flatcar/bootengine#28.
Testing done
CI passed: http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/3524/cldsv/
(will re-run vmware test due to locksmith failure)