From 3d24fd88756ff5d9b4fde1b03f4c3de3f5f07ee5 Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Mon, 31 Aug 2020 17:22:17 -0700 Subject: [PATCH] apt-publish: publish dummy i386 release, even though we don't make packages for it as Ubuntu on amd64 is sometimes confused and tries downloading i386 anyway (#574) --- tools/apt-publish.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/apt-publish.sh b/tools/apt-publish.sh index fd8882225..fa8c438a7 100755 --- a/tools/apt-publish.sh +++ b/tools/apt-publish.sh @@ -15,7 +15,9 @@ if [ ! -d "$PKGDIR" ]; then fi distributions="stable testing unstable" -architectures="amd64 arm64 armhf" + +# note we don't produce packages for i386 but lack of it confuses some amd64 clients. +architectures="amd64 arm64 armhf i386" WORK_DIR=/tmp/apt-publish rm -rf "$WORK_DIR" @@ -105,4 +107,4 @@ echo Setting caching parameters... gsutil -m setmeta -h "Cache-Control:no-cache, max-age=0" $GS_PREFIX/dists/{stable,testing,unstable}/{Release,Release.gpg,InRelease} gsutil -m setmeta -h "Cache-Control:no-cache, max-age=0" $GS_PREFIX/dists/{stable,testing,unstable}/main/binary-{amd64,arm64,armhf}/Packages{,.gz} -echo Done. \ No newline at end of file +echo Done.