mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 16:31:32 +00:00
ignore arch all when looking for up-to-date bins
If we have an up-to-date arch all package available for this architecture, that doesn't mean this architecture has an up-to-date build. We need an architecture specific up-to-date package for that. Signed-off-by: Ivo De Decker <ivodd@debian.org>
This commit is contained in:
parent
984b07b58e
commit
606dbcb470
@ -1437,15 +1437,18 @@ class Britney(object):
|
|||||||
pkgsv = binary_u[SOURCEVER]
|
pkgsv = binary_u[SOURCEVER]
|
||||||
|
|
||||||
# if it wasn't built by the same source, it is out-of-date
|
# if it wasn't built by the same source, it is out-of-date
|
||||||
# if there is at least one binary which is up-to-date, there
|
# if there is at least one binary on this arch which is
|
||||||
# is a build on this arch
|
# up-to-date, there is a build on this arch
|
||||||
if not same_source(source_u[VERSION], pkgsv):
|
if not same_source(source_u[VERSION], pkgsv):
|
||||||
if pkgsv not in oodbins:
|
if pkgsv not in oodbins:
|
||||||
oodbins[pkgsv] = []
|
oodbins[pkgsv] = []
|
||||||
oodbins[pkgsv].append(pkg)
|
oodbins[pkgsv].append(pkg)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
uptodatebins = True
|
# if the binary is arch all, it doesn't count as
|
||||||
|
# up-to-date for this arch
|
||||||
|
if binary_u[ARCHITECTURE] == arch:
|
||||||
|
uptodatebins = True
|
||||||
|
|
||||||
# if the package is architecture-dependent or the current arch is `nobreakall'
|
# if the package is architecture-dependent or the current arch is `nobreakall'
|
||||||
# find unsatisfied dependencies for the binary package
|
# find unsatisfied dependencies for the binary package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user