From c7b96899dc82035d49bca6de1abf29ea7b0e659d Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Tue, 17 Oct 2023 18:07:03 +0200 Subject: [PATCH] fix: fix Torrent and Checksum download URLs After Bullseye images moved to 'oldstable' branch, we need to alter the URLs to 'legacy' images and checksums Signed-off-by: Stephan Wendel --- config/raspberry/rpi32 | 9 +++++++-- config/raspberry/rpi64 | 8 ++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/config/raspberry/rpi32 b/config/raspberry/rpi32 index f01873e19..ab7d9f6d4 100644 --- a/config/raspberry/rpi32 +++ b/config/raspberry/rpi32 @@ -4,8 +4,13 @@ # Declare Variables before exporting. # See https://www.shellcheck.net/wiki/SC2155 -DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_armhf_latest.sha256" -DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_armhf_latest.torrent" +# Keep for Bookworm template +# DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_armhf_latest.sha256" +# DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_armhf_latest.torrent" + +# New locations after Bullseye turned into 'oldstable' +DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-10-10/2023-05-03-raspios-bullseye-armhf-lite.img.xz.sha256" +DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-10-10/2023-05-03-raspios-bullseye-armhf-lite.img.xz.torrent" export DOWNLOAD_URL_CHECKSUM export DOWNLOAD_URL_IMAGE diff --git a/config/raspberry/rpi64 b/config/raspberry/rpi64 index e58c6a460..7cee4dd60 100644 --- a/config/raspberry/rpi64 +++ b/config/raspberry/rpi64 @@ -6,9 +6,13 @@ BASE_ARCH="arm64" -DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.sha256" -DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.torrent" +# Keep for Bookworm template +# DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.sha256" +# DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.torrent" +# New locations after Bullseye turned into 'oldstable' +DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.com/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2023-10-10/2023-05-03-raspios-bullseye-arm64-lite.img.xz.sha256" +DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.com/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2023-10-10/2023-05-03-raspios-bullseye-arm64-lite.img.xz.torrent" # export variables