From 333efd0a9450627ba6f5084ad81593a9c439a756 Mon Sep 17 00:00:00 2001 From: and Date: Sat, 13 Jun 2026 21:12:47 -0400 Subject: [PATCH] Hardcode bootstrapping from 0.100 on Internet Archive Swaps out the downloads.factorcode.org infrastructure for some hard coded URLs to the internet archive copies of 0.100 bootimages. These are technically the boot images from 14-Oct-2024 but that is the closest option as the OG boot images are gone. --- build.sh | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/build.sh b/build.sh index f027140d5f7..06611500f12 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ OS= ARCH= WORD= GIT_PROTOCOL=${GIT_PROTOCOL:="https"} -GIT_URL=${GIT_URL:=$GIT_PROTOCOL"://github.com/factor/factor.git"} +GIT_URL=${GIT_URL:=$GIT_PROTOCOL"://github.com/theAlexes/factor.git"} test_program_installed() { command -v "$1" >/dev/null 2>&1 @@ -595,19 +595,9 @@ check_url() { # Otherwise, just use `master` set_boot_image_vars() { set_current_branch - local url="https://downloads.factorcode.org/images/${CURRENT_BRANCH}/checksums.txt" + local url="https://archive.org/download/factor-boot-image-0.100/checksums.txt" $ECHO "Getting checksum from ${url}" - - if check_url "$url"; then - $ECHO "got checksum!" - CHECKSUM_URL="$url" - BOOT_IMAGE_URL="https://downloads.factorcode.org/images/${CURRENT_BRANCH}/${BOOT_IMAGE}" - else - $ECHO "boot image for branch \`${CURRENT_BRANCH}\` is not on server, trying master instead" - $ECHO " tried nonexistent url: ${url}" - CHECKSUM_URL="https://downloads.factorcode.org/images/master/checksums.txt" - BOOT_IMAGE_URL="https://downloads.factorcode.org/images/master/${BOOT_IMAGE}" - fi + BOOT_IMAGE_URL="https://archive.org/download/factor-boot-image-0.100/${BOOT_IMAGE}" } set_current_branch() {