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

Add dependencies verb #2529

Open
DaanDeMeyer opened this issue Mar 18, 2024 · 0 comments
Open

Add dependencies verb #2529

DaanDeMeyer opened this issue Mar 18, 2024 · 0 comments
Labels

Comments

@DaanDeMeyer
Copy link
Contributor

A logical addition to the default tools trees is to allow querying the packages of the tools tree of the current distribution/release so that they can be passed installed all at once. This would look as follows:

sudo dnf install $(mkosi dependencies)

For the implementation, we would do something similar as finalize_default_tools(), except that the only cmdline arguments required will be the distribution, release and architecture, which should be set to the host's distribution, release and architecture respectively. We then parse the mkosi-tools configuration, and print the list of packages on stdout delimited by newlines.

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

No branches or pull requests

1 participant