Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Filter locked packages by checksums before depsolving
Don't just filter down packages by NEVRA, but also filter out those that don't match the checksum too. We were enforcing checksum matches already before this, but only *after* depsolving and simply erroring out if they didn't match. However, because of how RPM signing is implemented in Fedora, it is possible to have the same NEVRA in two different repos, each with two different hashes. E.g. right now for example, `efivar-libs` wasn't rebuilt for f31, and so f31 is just shipping the f30 RPM, but signed with the f31 key. And of course, we also had the f30 version in the pool. This patch allows us to transition over to the f31 version with everything else by not getting thrown off by the f30 version already in the pool. (Still need to investigate how the pool will deal with this.)
- Loading branch information