Skip to content
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

Don't pass down empty lists to subimages unless explicitly configured #2944

Merged
merged 4 commits into from
Aug 7, 2024

Conversation

DaanDeMeyer
Copy link
Contributor

This makes sure that subimages use default values for list based
settings unless they were explicitly configured in configuration or
on the command line or have a non-empty default value in the main
image.

Fixes #2874

This allows us to check whether a value was explicitly configured
in configuration files or on the CLI.
This allows us to use context.config to determine whether a value
was specified in a configuration file or not.
This gives us more flexibility in configuring the individual subimages.
This makes sure that subimages use default values for list based
settings unless they were explicitly configured in configuration or
on the command line or have a non-empty default value in the main
image.

Fixes systemd#2874
@DaanDeMeyer DaanDeMeyer merged commit 178d67f into systemd:main Aug 7, 2024
29 of 32 checks passed
@DaanDeMeyer DaanDeMeyer deleted the fix branch August 7, 2024 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

PackageManagerTree= in image directory no longer falls back to mkosi.skeleton/
2 participants