mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-10-15 09:04:03 +00:00
Merge remote-tracking branch 'variants-wg/amd64v3'
This commit is contained in:
commit
d9a0606519
@ -24,7 +24,7 @@ STATE_DIR = data/%(SERIES)/state
|
|||||||
# List of architectures that Britney should consider.
|
# List of architectures that Britney should consider.
|
||||||
# - defaults to the value in testing's Release file (if it is present).
|
# - defaults to the value in testing's Release file (if it is present).
|
||||||
# - Required for the legacy layout.
|
# - Required for the legacy layout.
|
||||||
ARCHITECTURES = amd64 arm64 armhf i386 powerpc ppc64el riscv64
|
ARCHITECTURES = amd64 amd64v3 arm64 armhf i386 powerpc ppc64el riscv64
|
||||||
|
|
||||||
# if you're not in this list, arch: all packages are allowed to break on you
|
# if you're not in this list, arch: all packages are allowed to break on you
|
||||||
NOBREAKALL_ARCHES = amd64
|
NOBREAKALL_ARCHES = amd64
|
||||||
@ -39,7 +39,7 @@ HAS_ARCH_ALL_BUILDDS = no
|
|||||||
OUTOFSYNC_ARCHES =
|
OUTOFSYNC_ARCHES =
|
||||||
|
|
||||||
# if you're in this list, your uninstallability count may increase
|
# if you're in this list, your uninstallability count may increase
|
||||||
BREAK_ARCHES =
|
BREAK_ARCHES = amd64v3
|
||||||
|
|
||||||
# if you're in this list, you are a new architecture
|
# if you're in this list, you are a new architecture
|
||||||
NEW_ARCHES =
|
NEW_ARCHES =
|
||||||
|
@ -382,6 +382,11 @@ class DebMirrorLikeSuiteContentLoader(SuiteContentLoader):
|
|||||||
provides = []
|
provides = []
|
||||||
|
|
||||||
raw_arch = intern(get_field('Architecture'))
|
raw_arch = intern(get_field('Architecture'))
|
||||||
|
# FIXME: Make this configurable.
|
||||||
|
# If a base architecture is used in an architecture variant package file, promote
|
||||||
|
# it to the variant architecture.
|
||||||
|
if arch == "amd64v3" and raw_arch == "amd64":
|
||||||
|
raw_arch = "amd64v3"
|
||||||
if raw_arch not in {'all', arch}: # pragma: no cover
|
if raw_arch not in {'all', arch}: # pragma: no cover
|
||||||
raise AssertionError("%s has wrong architecture (%s) - should be either %s or all" % (
|
raise AssertionError("%s has wrong architecture (%s) - should be either %s or all" % (
|
||||||
str(pkg_id), raw_arch, arch))
|
str(pkg_id), raw_arch, arch))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user