8000 Offer `WITH_*` variables to all scripts after `configure` · Issue #3611 · systemd/mkosi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Offer WITH_* variables to all scripts after configure #3611

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
clarfonthey opened this issue Mar 22, 2025 · 0 comments
Open

Offer WITH_* variables to all scripts after configure #3611

clarfonthey opened this issue Mar 22, 2025 · 0 comments

Comments

@clarfonthey
Copy link

Considering how these can still be accessed via $MKOSI_CONFIG and they just represent configuration settings, not directories that depend on the build step you're in, it makes sense to offer them via the variables. The only exception here is mkosi.configure, since it's deciding the values for these options.

For example, I run a few tests in postinst/finalize scripts as extra checks and it would be nice to gate them via $WITH_TESTS instead of having to parse the JSON config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant
0