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

rpm2kit: drop unnecessary "--all" argument #435

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Jan 7, 2025

Issue number:
N/A

Description of changes:
In dnf4, "--all" is the long way of writing "*", which is also the default if no argument is specified.

It's no longer supported in dnf5, so just get rid of it.

Testing done:
Built kits with a newer SDK based on Fedora 41, which uses dnf5.

Verified that the list of RPMs in the kit is still logged:

  #6 7.983 Added kit repo from file:////output/x86_64
  #6 8.030 kit                                              65 MB/s | 131 kB     00:00····
  #6 8.102 bottlerocket-amazon-ecs-cni-plugins-1:2020.09.0-1.1734645357.036202ea8.br1.x86_64
  #6 8.102 bottlerocket-amazon-ecs-cni-plugins-bin-1:2020.09.0-1.1734645357.036202ea8.br1.x86_64
  #6 8.102 bottlerocket-amazon-ecs-cni-plugins-ecs-agent-extras-1:2020.09.0-1.1734645357.036202ea8.br1.x86_64
  #6 8.102 bottlerocket-amazon-ecs-cni-plugins-ecs-agent-fips-extras-1:2020.09.0-1.1734645357.036202ea8.br1.x86_64
  #6 8.102 bottlerocket-amazon-ecs-cni-plugins-fips-bin-1:2020.09.0-1.1734645357.036202ea8.br1.x86_64

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

In dnf4, "--all" is the long way of writing "*", which is also the
default if no argument is specified.

It's no longer supported in dnf5, so just get rid of it.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
@cbgbt cbgbt merged commit f440019 into bottlerocket-os:develop Jan 13, 2025
3 checks passed
@bcressey bcressey deleted the dnf5-repoquery branch January 13, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants