From 8b0803e3bbc2414412094857247f447dbd6bec5a Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Thu, 8 Aug 2019 22:59:27 +0000 Subject: [PATCH] Buildd: don't block binnmu with maintainer arch: all When the arch: all packages were uploaded by the maintainer, a binnmu (built on the buildds) shouldn't be blocked, because it doesn't contain the arch: all binaries anyway. Signed-off-by: Ivo De Decker --- britney2/policies/policy.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/britney2/policies/policy.py b/britney2/policies/policy.py index bdfd8b7..9632949 100644 --- a/britney2/policies/policy.py +++ b/britney2/policies/policy.py @@ -1187,6 +1187,12 @@ class BuiltOnBuilddPolicy(BasePolicy): if (binary_u.source_version != source_data_srcdist.version): continue + if (item.architecture != 'source' and pkg_arch == 'all'): + # we don't care about the existing arch: all binaries when + # checking a binNMU item, because the arch: all binaries won't + # migrate anyway + continue + signer = None uid = None uidinfo = ""