summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-12-16 19:27:27 -0500
committerLevente Polyak <anthraxx@archlinux.org>2020-02-27 14:50:19 +0100
commite963b6da9e2c0aa82a0b80a5b6bfe7294561734f (patch)
treebc15039413ea7f2a0cd7ff4b8bddf737da2d3b46 /.gitignore
parentb2cbb8628eba3f64207c6d60f8b57ce023599000 (diff)
downloaddevtools-e963b6da9e2c0aa82a0b80a5b6bfe7294561734f.tar.xz
makechrootpkg: use the chroot database to find checkpkg packages
We don't want to check against the current version known to the host system, because that will be incorrect in a wide variety of situations, including: - the build host hasn't done a full system upgrade yet - we're building against staging, and want to see the delta between different staging versions - we're building against extra, but the host runs testing which carries changes we don't want to visualize right now - the chroot has a configured database not available to the host, and the package is only available there Essentially, it's rarely 100% correct to run checkpkg on the host, but we already have a database we *know* is correct, and that is the one we just built the package against. So let's use that. This also fixes a bug in the current logic, where in order to try downloading fresh databases, we work in a non-cached temporary working database to download the package files, but then let checkpkg default to comparing packages in the system database. Since we are explicitly trying to compare against packages that differ from the host's pacman database, we need to pass the package files as options to checkpkg, using the additional modes added in commit c14338c0fe71a74f5e56b4f3af7c548fe0928e15 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions