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)

This commit is contained in:
Jarek Kowalski authored and GitHub committed 2020-08-31 17:22:17 -07:00
1 parent 39f1fae8a3
commit 3d24fd8875
1 file changed
+4 -2
+4 -2
View File
@@ -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.
echo Done.