From d7dfd739824c0f5bad5db426d30d6e1a34265d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 27 May 2021 22:05:45 +0200 Subject: alpine: build against latest-stable --- templates/alpine.run | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/alpine.run b/templates/alpine.run index 6811191..a24695d 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -27,17 +27,18 @@ mkdir -p "$TWORKSPACE/distfiles" "$WORKSPACE/packages" if [ ! -d "$ROOT" ]; then # Prepare new root if there is none - rootfs="$(curl "http://dl-cdn.alpinelinux.org/alpine/edge/releases/$ARCH/latest-releases.yaml" | \ + # TODO switch to latest-stable + rootfs="$(curl "http://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/$ARCH/latest-releases.yaml" | \ yq -r 'map(select(.flavor == "alpine-minirootfs")) | .[0].file')" echo_stage "Setting up new root" - wget "http://dl-cdn.alpinelinux.org/alpine/edge/releases/$ARCH/$rootfs" -O alpine.tar.gz + wget "http://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/$ARCH/$rootfs" -O alpine.tar.gz # TODO verify signature mkdir "$ROOT" uroot tar -xzf alpine.tar.gz -C "$ROOT" chmod 755 "$ROOT" # This is intentional, tar changes access rights MOUNT="" uchroot root <