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

Define our own config for PE addons and UKI profiles #3106

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

DaanDeMeyer
Copy link
Contributor

ukify's config parser uses python's configparser module and as such
suffers from all its issues just like we used to in mkosi. Having ukify
parse the config file also means that we have to make sure any paths
configured in the profile are available in the sandbox.

Instead, let's define our own configs for the PE addons and UKI profiles
so we get to take advantage of our own config file parser and have full
knowledge of all the configured settings so we can mount extra stuff into
the sandbox if needed.

It also gets rid of the hack where we parse ukify's config file to figure
out the command line.

cc @NekkoDroid

@DaanDeMeyer
Copy link
Contributor Author

This is on top of #3103

@DaanDeMeyer DaanDeMeyer force-pushed the simple-config branch 3 times, most recently from a0efc1b to 6bb64ec Compare October 7, 2024 08:07
ukify's config parser uses python's configparser module and as such
suffers from all its issues just like we used to in mkosi. Having ukify
parse the config file also means that we have to make sure any paths
configured in the profile are available in the sandbox.

Instead, let's define our own configs for the PE addons and UKI profiles
so we get to take advantage of our own config file parser and have full
knowledge of all the configured settings so we can mount extra stuff into
the sandbox if needed.

It also gets rid of the hack where we parse ukify's config file to figure
out the command line.
@DaanDeMeyer DaanDeMeyer merged commit 9e47e4d into systemd:main Oct 7, 2024
36 checks passed
@DaanDeMeyer DaanDeMeyer deleted the simple-config branch October 7, 2024 10:30
@behrmann behrmann added the needs-news-entry Add a note to the NEWS when preparing a new release label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-news-entry Add a note to the NEWS when preparing a new release
Development

Successfully merging this pull request may close these issues.

2 participants