-
Notifications
You must be signed in to change notification settings - Fork 78
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
install: Add support for architecture filtering for kargs #567
Merged
Conversation
This file contains 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
lukewarmtemp
force-pushed
the
merge-env-properties
branch
from
May 27, 2024 15:37
8d72f1a
to
22eea93
Compare
cgwalters
reviewed
May 28, 2024
lukewarmtemp
force-pushed
the
merge-env-properties
branch
from
May 28, 2024 14:37
22eea93
to
8e31857
Compare
lukewarmtemp
changed the title
Pass env properties to merge function
install: Add support for architecture filtering for kargs
May 28, 2024
lukewarmtemp
force-pushed
the
merge-env-properties
branch
from
May 28, 2024 14:57
8e31857
to
03cedb6
Compare
cgwalters
reviewed
May 28, 2024
lukewarmtemp
force-pushed
the
merge-env-properties
branch
from
May 28, 2024 17:37
03cedb6
to
f57e312
Compare
cgwalters
reviewed
May 28, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This is looking pretty close, just a nit on code duplication, and would you mind updating the docs on this?
The use case here is that some kernel arguments are architecture specific, such as the `console=` kargs. This allows a generic base image to default to including arch-specific values post install. `EnvProperties` struct to allow for conditional merging of kargs depending on whether the archiecture matches. Future properties such as `platform.id` can be added in the future. Signed-off-by: Luke Yang <[email protected]>
lukewarmtemp
force-pushed
the
merge-env-properties
branch
from
May 28, 2024 18:17
f57e312
to
cdeadb9
Compare
cgwalters
approved these changes
May 28, 2024
cgwalters
added a commit
to cgwalters/bootc
that referenced
this pull request
Nov 5, 2024
ci: Adapt for Fedora 39
cgwalters
pushed a commit
to cgwalters/bootc
that referenced
this pull request
Nov 6, 2024
encapsulate: Support setting arbitrary container config
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.
Required for #401
Adds a
EnvProperties
struct to allow for conditional merging of kargs depending on whether the archiecture matches. Future properties such asplatform.id
can be added in the future.Signed off: Luke Yang [email protected]