mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-29 11:21:31 +00:00
Handle single architecture testing-proposed-updates update.
This commit is contained in:
parent
b0ef0af348
commit
da94ff9457
@ -1814,7 +1814,9 @@ class Britney:
|
|||||||
if pkg[0] == "-" and "/" in pkg:
|
if pkg[0] == "-" and "/" in pkg:
|
||||||
pkg_name, arch = pkg.split("/")
|
pkg_name, arch = pkg.split("/")
|
||||||
pkg_name = pkg_name[1:]
|
pkg_name = pkg_name[1:]
|
||||||
suite = "testing"
|
if arch.endswith("_tpu"):
|
||||||
|
arch, suite = arch.split("_")
|
||||||
|
else: suite = "testing"
|
||||||
# arch = "<source>/<arch>",
|
# arch = "<source>/<arch>",
|
||||||
elif "/" in pkg:
|
elif "/" in pkg:
|
||||||
pkg_name, arch = pkg.split("/")
|
pkg_name, arch = pkg.split("/")
|
||||||
@ -2012,7 +2014,7 @@ class Britney:
|
|||||||
lundo.append((undo, pkg, suite))
|
lundo.append((undo, pkg, suite))
|
||||||
|
|
||||||
# check the affected packages on all the architectures
|
# check the affected packages on all the architectures
|
||||||
for arch in ("/" in pkg and (pkg.split("/")[1],) or architectures):
|
for arch in ("/" in pkg and (pkg.split("/")[1].split("_")[0],) or architectures):
|
||||||
if arch not in nobreakall_arches:
|
if arch not in nobreakall_arches:
|
||||||
skip_archall = True
|
skip_archall = True
|
||||||
else: skip_archall = False
|
else: skip_archall = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user