From 50d7dd1a8412cd4baaf93118924b0945432cbb63 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 16 Apr 2025 12:11:57 +0100 Subject: [PATCH 1/2] Drop all references to a toolchain-specific binpkg host This evidently hasn't been used in a very long time, if ever, and it's just adding confusion. Signed-off-by: James Le Cuirot --- build_library/dev_container_util.sh | 3 +-- build_library/toolchain_util.sh | 23 +++-------------------- build_packages | 7 ------- setup_board | 6 +----- 4 files changed, 5 insertions(+), 34 deletions(-) diff --git a/build_library/dev_container_util.sh b/build_library/dev_container_util.sh index f87bd1235a..1643a61f00 100755 --- a/build_library/dev_container_util.sh +++ b/build_library/dev_container_util.sh @@ -38,8 +38,7 @@ CHOST=$(get_board_chost $BOARD) DISTDIR="/var/lib/portage/distfiles" PKGDIR="/var/lib/portage/pkgs" PORT_LOGDIR="/var/log/portage" -PORTAGE_BINHOST="$(get_binhost_url "${binhost}" "${update_group}" 'pkgs') -$(get_binhost_url "${binhost}" "${update_group}" 'toolchain')" +PORTAGE_BINHOST="$(get_binhost_url "${binhost}" "${update_group}" 'pkgs')" EOF sudo_clobber "${root_fs_dir}/etc/portage/repos.conf/portage-stable.conf" < Date: Wed, 16 Apr 2025 12:29:51 +0100 Subject: [PATCH 2/2] Drop obsolete SETTING_BINPKG_SERVER_DEV variable This isn't used anywhere, and the referenced bucket is empty. Signed-off-by: James Le Cuirot --- set_version | 3 +-- settings.env | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/set_version b/set_version index 240002a14d..833a182440 100755 --- a/set_version +++ b/set_version @@ -43,8 +43,7 @@ Usage: $0 FLAGS... --file FILE: Modify another file than ${FILE}, useful if run outside of the SDK chroot. If /dev/stdout or /dev/stderr is used, only new values are printed. - --binhost Use a custom binhost (defaults to '${DEFAULT_BASE_URL}'), - e.g., '${SETTING_BINPKG_SERVER_DEV}'. + --binhost Use a custom binhost (defaults to '${DEFAULT_BASE_URL}'). This will update BOARD and SDK URLs accordingly. " exit 1 diff --git a/settings.env b/settings.env index a0b0cd537d..3961d5d4ce 100644 --- a/settings.env +++ b/settings.env @@ -4,5 +4,4 @@ SETTING_BINPKG_SERVER_PROD="https://mirror.release.flatcar-linux.net" # development servers / bin caches. -SETTING_BINPKG_SERVER_DEV="https://bucket.release.flatcar-linux.net/flatcar-jenkins" SETTING_BINPKG_SERVER_DEV_CONTAINERISED="https://bincache.flatcar-linux.net"