Skip to content

Commit

Permalink
apt-publish: publish dummy i386 release, even though we don't make pa…
Browse files Browse the repository at this point in the history
…ckages for it as Ubuntu on amd64 is sometimes confused and tries downloading i386 anyway (#574)
  • Loading branch information
jkowalski committed Sep 1, 2020
1 parent 39f1fae commit 3d24fd8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/apt-publish.sh
Expand Up @@ -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"
Expand Down Expand Up @@ -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.

0 comments on commit 3d24fd8

Please sign in to comment.