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

Eliminate headers with no arch from the rpmdb on rebuild #3345

Open
pmatilai opened this issue Sep 30, 2024 · 1 comment
Open

Eliminate headers with no arch from the rpmdb on rebuild #3345

pmatilai opened this issue Sep 30, 2024 · 1 comment
Labels

Comments

@pmatilai
Copy link
Member

Currently rpmdb does a very basic sanity checks on headers in the db, requiring that all headers have name, version and release. Arch is missing because it's a loophole used by gpg-pubkey pseudopackages. Once we drop support for the rpmdb keystore, gpg-pubkeys should be purged out of the rpmdb. This is easily done by just adding RPMTAG_ARCH to the list of tested tags.

@pmatilai
Copy link
Member Author

pmatilai commented Oct 2, 2024

As it seems we'll have to carry support for this further into the future, this would need to be conditionalized on rpmdb being the configured keystore. That might get a bit weird.

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

No branches or pull requests

1 participant