-
Notifications
You must be signed in to change notification settings - Fork 81
fcos translate.go: add warn on small or constrained root partition #378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
prestist
wants to merge
4
commits into
coreos:main
Choose a base branch
from
prestist:warn-on-fs-too-small
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,185
−36
Conversation
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
df3fd2e to
166e0d5
Compare
bgilbert
reviewed
Aug 7, 2022
b95add4 to
98397ca
Compare
8a4a4c3 to
50f80a6
Compare
50f80a6 to
8882e58
Compare
74876cc to
78f8481
Compare
Fixes: coreos#211, the root partition needs a certain amount of space, with recent changes butane has the opportunity to warn when those expectations are not met. Check for contstraints caused by: - Partitions with out-of-order numbers - Auto-positioned partitions (StartMiB == 0 or nil) - Explicit partition positioning
Add test cases for: - Root partition constrained by disk position (not partition number) - Root partition with auto-positioned following partition (StartMiB=0) - Root partition NOT constrained when next partition has explicit StartMiB - Root partition size validation (too small, exactly 8GiB)
78f8481 to
530a65e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#211
Note I somehow dropped the '1' in the version for FCOS in the commit messages.. but before I update the commit structure lets make sure we are happy with the functional changes. Look at the first 2 commits, i.e the exp changes this is basically propagated to all versions back to 1_3 as you can see later with the fixup commits. Once approved I will merge the fixup commits with a rename to the commits to be inclusive of the changes!