Skip to content

Commit

Permalink
base-files: hardcoded cache of base-files version per RELEASE/ARCH, a…
Browse files Browse the repository at this point in the history
…s of 20240919

- seems things are again stuck due to upstream servers, and we've not yet the 'right thing' (whatever that is), thus here's an update to get us building again
  • Loading branch information
rpardini committed Sep 20, 2024
1 parent 2f9dafc commit db65db6
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions lib/functions/artifacts/artifact-armbian-base-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,30 +36,31 @@ function artifact_armbian-base-files_prepare_version() {
#done

case "${RELEASE}-${ARCH}" in
"bookworm-amd64") base_files_wanted_upstream_version="12.4+deb12u6" base_files_wanted_upstream_filename="base-files_12.4+deb12u6_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_12.4+deb12u6_amd64.deb" ;;
"bookworm-arm64") base_files_wanted_upstream_version="12.4+deb12u6" base_files_wanted_upstream_filename="base-files_12.4+deb12u6_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_12.4+deb12u6_arm64.deb" ;;
"bookworm-armhf") base_files_wanted_upstream_version="12.4+deb12u6" base_files_wanted_upstream_filename="base-files_12.4+deb12u6_armhf.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_12.4+deb12u6_armhf.deb" ;;
"bullseye-amd64") base_files_wanted_upstream_version="11.1+deb11u10" base_files_wanted_upstream_filename="base-files_11.1+deb11u10_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1+deb11u10_amd64.deb" ;;
"bullseye-arm64") base_files_wanted_upstream_version="11.1+deb11u10" base_files_wanted_upstream_filename="base-files_11.1+deb11u10_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1+deb11u10_arm64.deb" ;;
"bullseye-armhf") base_files_wanted_upstream_version="11.1+deb11u10" base_files_wanted_upstream_filename="base-files_11.1+deb11u10_armhf.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1+deb11u10_armhf.deb" ;;
"jammy-amd64") base_files_wanted_upstream_version="12ubuntu4.6" base_files_wanted_upstream_filename="base-files_12ubuntu4.6_amd64.deb" base_files_wanted_deb_down_url="http://archive.ubuntu.com/ubuntu/pool/main/b/base-files/base-files_12ubuntu4.6_amd64.deb" ;;
"jammy-arm64") base_files_wanted_upstream_version="12ubuntu4.6" base_files_wanted_upstream_filename="base-files_12ubuntu4.6_arm64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_12ubuntu4.6_arm64.deb" ;;
"jammy-armhf") base_files_wanted_upstream_version="12ubuntu4.6" base_files_wanted_upstream_filename="base-files_12ubuntu4.6_armhf.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_12ubuntu4.6_armhf.deb" ;;
"jammy-riscv64") base_files_wanted_upstream_version="12ubuntu4.6" base_files_wanted_upstream_filename="base-files_12ubuntu4.6_riscv64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_12ubuntu4.6_riscv64.deb" ;;
"bookworm-amd64") base_files_wanted_upstream_version="12.4+deb12u7" base_files_wanted_upstream_filename="base-files_12.4+deb12u7_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_12.4+deb12u7_amd64.deb" ;;
"bookworm-arm64") base_files_wanted_upstream_version="12.4+deb12u7" base_files_wanted_upstream_filename="base-files_12.4+deb12u7_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_12.4+deb12u7_arm64.deb" ;;
"bookworm-armhf") base_files_wanted_upstream_version="12.4+deb12u7" base_files_wanted_upstream_filename="base-files_12.4+deb12u7_armhf.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_12.4+deb12u7_armhf.deb" ;;
"bullseye-amd64") base_files_wanted_upstream_version="11.1+deb11u11" base_files_wanted_upstream_filename="base-files_11.1+deb11u11_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1+deb11u11_amd64.deb" ;;
"bullseye-arm64") base_files_wanted_upstream_version="11.1+deb11u11" base_files_wanted_upstream_filename="base-files_11.1+deb11u11_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1+deb11u11_arm64.deb" ;;
"bullseye-armhf") base_files_wanted_upstream_version="11.1+deb11u11" base_files_wanted_upstream_filename="base-files_11.1+deb11u11_armhf.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1+deb11u11_armhf.deb" ;;
"jammy-amd64") base_files_wanted_upstream_version="12ubuntu4.7" base_files_wanted_upstream_filename="base-files_12ubuntu4.7_amd64.deb" base_files_wanted_deb_down_url="http://archive.ubuntu.com/ubuntu/pool/main/b/base-files/base-files_12ubuntu4.7_amd64.deb" ;;
"jammy-arm64") base_files_wanted_upstream_version="12ubuntu4.7" base_files_wanted_upstream_filename="base-files_12ubuntu4.7_arm64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_12ubuntu4.7_arm64.deb" ;;
"jammy-armhf") base_files_wanted_upstream_version="12ubuntu4.7" base_files_wanted_upstream_filename="base-files_12ubuntu4.7_armhf.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_12ubuntu4.7_armhf.deb" ;;
"jammy-riscv64") base_files_wanted_upstream_version="12ubuntu4.7" base_files_wanted_upstream_filename="base-files_12ubuntu4.7_riscv64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_12ubuntu4.7_riscv64.deb" ;;
"noble-amd64") base_files_wanted_upstream_version="13ubuntu10" base_files_wanted_upstream_filename="base-files_13ubuntu10_amd64.deb" base_files_wanted_deb_down_url="http://archive.ubuntu.com/ubuntu/pool/main/b/base-files/base-files_13ubuntu10_amd64.deb" ;;
"noble-arm64") base_files_wanted_upstream_version="13ubuntu10" base_files_wanted_upstream_filename="base-files_13ubuntu10_arm64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13ubuntu10_arm64.deb" ;;
"noble-armhf") base_files_wanted_upstream_version="13ubuntu10" base_files_wanted_upstream_filename="base-files_13ubuntu10_armhf.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13ubuntu10_armhf.deb" ;;
"noble-riscv64") base_files_wanted_upstream_version="13ubuntu10" base_files_wanted_upstream_filename="base-files_13ubuntu10_riscv64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13ubuntu10_riscv64.deb" ;;
"oracular-amd64") base_files_wanted_upstream_version="13.3ubuntu3" base_files_wanted_upstream_filename="base-files_13.3ubuntu3_amd64.deb" base_files_wanted_deb_down_url="http://archive.ubuntu.com/ubuntu/pool/main/b/base-files/base-files_13.3ubuntu3_amd64.deb" ;;
"oracular-arm64") base_files_wanted_upstream_version="13.3ubuntu3" base_files_wanted_upstream_filename="base-files_13.3ubuntu3_arm64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13.3ubuntu3_arm64.deb" ;;
"oracular-armhf") base_files_wanted_upstream_version="13.3ubuntu3" base_files_wanted_upstream_filename="base-files_13.3ubuntu3_armhf.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13.3ubuntu3_armhf.deb" ;;
"oracular-riscv64") base_files_wanted_upstream_version="13.3ubuntu3" base_files_wanted_upstream_filename="base-files_13.3ubuntu3_riscv64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13.3ubuntu3_riscv64.deb" ;;
"sid-amd64") base_files_wanted_upstream_version="13.3" base_files_wanted_upstream_filename="base-files_13.3_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.3_amd64.deb" ;;
"sid-arm64") base_files_wanted_upstream_version="13.3" base_files_wanted_upstream_filename="base-files_13.3_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.3_arm64.deb" ;;
"sid-armhf") base_files_wanted_upstream_version="13.3" base_files_wanted_upstream_filename="base-files_13.3_armhf.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.3_armhf.deb" ;;
"sid-riscv64") base_files_wanted_upstream_version="13.3" base_files_wanted_upstream_filename="base-files_13.3_riscv64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.3_riscv64.deb" ;;
"trixie-amd64") base_files_wanted_upstream_version="13.3" base_files_wanted_upstream_filename="base-files_13.3_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.3_amd64.deb" ;;
"trixie-arm64") base_files_wanted_upstream_version="13.3" base_files_wanted_upstream_filename="base-files_13.3_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.3_arm64.deb" ;;
"oracular-amd64") base_files_wanted_upstream_version="13.3ubuntu5" base_files_wanted_upstream_filename="base-files_13.3ubuntu5_amd64.deb" base_files_wanted_deb_down_url="http://archive.ubuntu.com/ubuntu/pool/main/b/base-files/base-files_13.3ubuntu5_amd64.deb" ;;
"oracular-arm64") base_files_wanted_upstream_version="13.3ubuntu5" base_files_wanted_upstream_filename="base-files_13.3ubuntu5_arm64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13.3ubuntu5_arm64.deb" ;;
"oracular-armhf") base_files_wanted_upstream_version="13.3ubuntu5" base_files_wanted_upstream_filename="base-files_13.3ubuntu5_armhf.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13.3ubuntu5_armhf.deb" ;;
"oracular-riscv64") base_files_wanted_upstream_version="13.3ubuntu5" base_files_wanted_upstream_filename="base-files_13.3ubuntu5_riscv64.deb" base_files_wanted_deb_down_url="http://ports.ubuntu.com/pool/main/b/base-files/base-files_13.3ubuntu5_riscv64.deb" ;;
"sid-amd64") base_files_wanted_upstream_version="13.5" base_files_wanted_upstream_filename="base-files_13.5_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.5_amd64.deb" ;;
"sid-arm64") base_files_wanted_upstream_version="13.5" base_files_wanted_upstream_filename="base-files_13.5_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.5_arm64.deb" ;;
"sid-armhf") base_files_wanted_upstream_version="13.5" base_files_wanted_upstream_filename="base-files_13.5_armhf.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.5_armhf.deb" ;;
"sid-riscv64") base_files_wanted_upstream_version="13.5" base_files_wanted_upstream_filename="base-files_13.5_riscv64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.5_riscv64.deb" ;;
"trixie-amd64") base_files_wanted_upstream_version="13.5" base_files_wanted_upstream_filename="base-files_13.5_amd64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.5_amd64.deb" ;;
"trixie-arm64") base_files_wanted_upstream_version="13.5" base_files_wanted_upstream_filename="base-files_13.5_arm64.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.5_arm64.deb" ;;
"trixie-armhf") base_files_wanted_upstream_version="13.5" base_files_wanted_upstream_filename="base-files_13.5_armhf.deb" base_files_wanted_deb_down_url="http://deb.debian.org/debian/pool/main/b/base-files/base-files_13.5_armhf.deb" ;;

*)
display_alert "Release ${RELEASE} and arch ${ARCH}" "base-files hardcoded cache not found, will hit packages server for info" "warn"
Expand Down

0 comments on commit db65db6

Please sign in to comment.