mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-13 12:11:13 +00:00
Since dpkg/1.19.1, "foo:native" is also valid for arch:all pkgs
We allow this already now even though dpkg/1.19.1 is not in stable as it will not cause issues with upgrades (only dpkg-checkbuilddeps needed change, so it will not cause issues on the buildds as we can rely on dpkg from buster being present there). Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
14e9bf5864
commit
915b4a012d
@ -640,11 +640,10 @@ def get_dependency_solvers(block, binaries_s_a, provides_s_a, *, build_depends=F
|
||||
if (op == '' and version == '') or apt_pkg.check_dep(package.version, op, version):
|
||||
if archqual is None:
|
||||
packages.append(package)
|
||||
elif build_depends:
|
||||
elif build_depends and archqual == 'native':
|
||||
# Multi-arch handling for build-dependencies
|
||||
# - :native is ok iff the target is arch:any
|
||||
if archqual == 'native' and package.architecture != 'all':
|
||||
packages.append(package)
|
||||
# - :native is ok always (since dpkg 1.19.1)
|
||||
packages.append(package)
|
||||
|
||||
# Multi-arch handling for both build-dependencies and regular dependencies
|
||||
# - :any is ok iff the target has "M-A: allowed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user