From ef0af1244d9b5f460cc95e70f16e9d04757f0372 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 22 Aug 2021 14:54:12 -0300 Subject: [PATCH] script: use musl from bullseye instead of unstable (#974) Now that bullseye was released, Debian is starting to make bigger changes on unstable. To avoid breakage, let's use musl from bullseye that is the correct version that we were using until now (1.22-1): https://packages.debian.org/bullseye/musl-tools Eventually a better solution would be to simply use Debian bullseye to compile everything, however the official Clojure image from Docker is still using stretch. So this is a temporary solution until them. --- script/setup-musl | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/script/setup-musl b/script/setup-musl index 118c98ec..921c6d7f 100755 --- a/script/setup-musl +++ b/script/setup-musl @@ -12,13 +12,14 @@ if [[ -z "${BABASHKA_MUSL:-}" ]]; then exit 0 fi -# This script sets up the latest available musl-tools using apt pinning from debian unstable. -# The one available in stable and testing are quite outdated and this ensures we get the latest improvements -# This explictly installs musl from unstable and keeps the others at a higher priority +# This script sets up the latest available musl-tools using apt pinning from Debian bullseye (11). +# The one available in stretch (Debian 9) is outdated and this ensures we get the latest improvements +# This explictly installs musl from bullseye and keeps the others at a higher priority +# TODO: remove after clojure image is updated to bullseye cat >> /etc/apt/sources.list <> /etc/apt/preferences <