Remove references to architectures not supported in any active Ubuntu release.

This commit is contained in:
Steve Langasek 2023-05-30 21:05:56 -07:00
parent 89e788bf48
commit ff1c95e2c0
7 changed files with 8 additions and 23 deletions

View File

@ -36,7 +36,7 @@ _pbuilder-dist()
for distro in $(ubuntu-distro-info --all; debian-distro-info --all) stable testing unstable; do for distro in $(ubuntu-distro-info --all; debian-distro-info --all) stable testing unstable; do
for builder in pbuilder cowbuilder; do for builder in pbuilder cowbuilder; do
echo "$builder-$distro" echo "$builder-$distro"
for arch in i386 amd64 armel armhf; do for arch in i386 amd64 armhf; do
echo "$builder-$distro-$arch" echo "$builder-$distro-$arch"
done done
done done

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ ubuntu-dev-tools (0.193ubuntu5) UNRELEASED; urgency=medium
* Remove references to deprecated * Remove references to deprecated
http://people.canonical.com/~ubuntu-archive. http://people.canonical.com/~ubuntu-archive.
* Remove references to architectures not supported in any active
Ubuntu release.
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 30 May 2023 19:35:57 -0700 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 30 May 2023 19:35:57 -0700

View File

@ -38,7 +38,7 @@ This optional parameter will attempt to construct a chroot in a foreign
architecture. architecture.
For some architecture pairs (e.g. i386 on an amd64 install), the chroot For some architecture pairs (e.g. i386 on an amd64 install), the chroot
will be created natively. will be created natively.
For others (e.g. armel on an i386 install), qemu\-user\-static will be For others (e.g. arm64 on an amd64 install), qemu\-user\-static will be
used. used.
Note that some combinations (e.g. amd64 on an i386 install) require Note that some combinations (e.g. amd64 on an i386 install) require
special separate kernel handling, and may break in unexpected ways. special separate kernel handling, and may break in unexpected ways.

View File

@ -38,8 +38,7 @@ operations.
\fB\-a\fR ARCHITECTURE, \fB\-\-arch\fR=\fIARCHITECTURE\fR \fB\-a\fR ARCHITECTURE, \fB\-\-arch\fR=\fIARCHITECTURE\fR
Rebuild or rescore a specific architecture. Valid Rebuild or rescore a specific architecture. Valid
architectures are: architectures are:
armel, armhf, arm64, amd64, hppa, i386, ia64, armhf, arm64, amd64, i386, powerpc, ppc64el, riscv64, s390x.
lpia, powerpc, ppc64el, riscv64, s390x, sparc.
.TP .TP
Batch processing: Batch processing:
.IP .IP
@ -62,8 +61,7 @@ Rescore builds to <priority>.
\fB\-\-arch2\fR=\fIARCHITECTURE\fR \fB\-\-arch2\fR=\fIARCHITECTURE\fR
Affect only 'architecture' (can be used several Affect only 'architecture' (can be used several
times). Valid architectures are: times). Valid architectures are:
armel, armhf, arm64, amd64, hppa, i386, ia64, arm64, amd64, i386, powerpc, ppc64el, riscv64, s390x.
lpia, powerpc, ppc64el, riscv64, s390x, sparc.
.SH AUTHORS .SH AUTHORS
\fBubuntu-build\fR was written by Martin Pitt <martin.pitt@canonical.com>, and \fBubuntu-build\fR was written by Martin Pitt <martin.pitt@canonical.com>, and

View File

@ -166,7 +166,7 @@ while :; do
--arch) --arch)
CHROOT_ARCH="$2" CHROOT_ARCH="$2"
case $2 in case $2 in
armel|armhf|i386|lpia) armhf|i386)
if [ -z "$personality" ]; then if [ -z "$personality" ]; then
personality="linux32" personality="linux32"
fi fi
@ -750,7 +750,7 @@ DEBOOTSTRAP_COMMAND=debootstrap
if [ "$CHROOT_ARCH" != "$HOST_ARCH" ] ; then if [ "$CHROOT_ARCH" != "$HOST_ARCH" ] ; then
case "$CHROOT_ARCH-$HOST_ARCH" in case "$CHROOT_ARCH-$HOST_ARCH" in
# Sometimes we don't need qemu # Sometimes we don't need qemu
amd64-i386|amd64-lpia|armel-armhf|armhf-armel|arm64-armel|arm64-armhf|armel-arm64|armhf-arm64|i386-amd64|i386-lpia|lpia-i386|powerpc-ppc64|ppc64-powerpc|sparc-sparc64|sparc64-sparc) amd64-i386|arm64-armhf|armhf-arm64|i386-amd64|powerpc-ppc64|ppc64-powerpc)
;; ;;
# Sometimes we do # Sometimes we do
*) *)

View File

@ -487,20 +487,10 @@ def main():
requested_arch, requested_arch,
) not in [ ) not in [
("amd64", "i386"), ("amd64", "i386"),
("amd64", "lpia"),
("arm", "armel"),
("armel", "arm"),
("armel", "armhf"),
("armhf", "armel"),
("arm64", "arm"), ("arm64", "arm"),
("arm64", "armhf"), ("arm64", "armhf"),
("arm64", "armel"),
("i386", "lpia"),
("lpia", "i386"),
("powerpc", "ppc64"), ("powerpc", "ppc64"),
("ppc64", "powerpc"), ("ppc64", "powerpc"),
("sparc", "sparc64"),
("sparc64", "sparc"),
]: ]:
args += ["--debootstrap", "qemu-debootstrap"] args += ["--debootstrap", "qemu-debootstrap"]

View File

@ -51,19 +51,14 @@ def main():
# Valid architectures. # Valid architectures.
valid_archs = set( valid_archs = set(
[ [
"armel",
"armhf", "armhf",
"arm64", "arm64",
"amd64", "amd64",
"hppa",
"i386", "i386",
"ia64",
"lpia",
"powerpc", "powerpc",
"ppc64el", "ppc64el",
"riscv64", "riscv64",
"s390x", "s390x",
"sparc",
] ]
) )