From ae7c711b240514b68f6d7b1ac9be7267b862ce9f Mon Sep 17 00:00:00 2001 From: ashraffouda Date: Tue, 7 Jul 2026 13:49:10 +0200 Subject: [PATCH] Update rfs/zos-config URLs after repo renames rfs -> zos_rfs (bins/packages/rfs/rfs.sh, debug_image scripts/docs) and zos-config -> zos_config (bootstrap hub.rs runtime config fetch). Points at the new repo names instead of relying on GitHub's non-permanent rename redirects. Verified rfs v1.1.1/v2.0.6 and the zos_config runmode files (production/development/testing/qa.json) resolve 200 from the new URLs. Co-Authored-By: Claude Opus 4.8 (1M context) --- bins/packages/rfs/rfs.sh | 4 ++-- bootstrap/bootstrap/src/hub.rs | 2 +- scripts/debug_image.md | 4 ++-- scripts/debug_image.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bins/packages/rfs/rfs.sh b/bins/packages/rfs/rfs.sh index ea4d0daa..39bbea04 100755 --- a/bins/packages/rfs/rfs.sh +++ b/bins/packages/rfs/rfs.sh @@ -2,8 +2,8 @@ RFS_VERSION_V1="1.1.1" RFS_VERSION_V2="2.0.6" RFS_CHECKSUM_V1="974b8dc45ae9c1b00238a79b0f4fc9de" RFS_CHECKSUM_V2="9e37743dfe94b4577ccf90c573c07638" -RFS_LINK_V1="https://github.com/threefoldtech/rfs/releases/download/v${RFS_VERSION_V1}/rfs" -RFS_LINK_V2="https://github.com/threefoldtech/rfs/releases/download/v${RFS_VERSION_V2}/rfs" +RFS_LINK_V1="https://github.com/threefoldtech/zos_rfs/releases/download/v${RFS_VERSION_V1}/rfs" +RFS_LINK_V2="https://github.com/threefoldtech/zos_rfs/releases/download/v${RFS_VERSION_V2}/rfs" download_rfs() { download_file ${RFS_LINK_V1} ${RFS_CHECKSUM_V1} rfs-${RFS_VERSION_V1} diff --git a/bootstrap/bootstrap/src/hub.rs b/bootstrap/bootstrap/src/hub.rs index 4ed5644e..4778574d 100644 --- a/bootstrap/bootstrap/src/hub.rs +++ b/bootstrap/bootstrap/src/hub.rs @@ -15,7 +15,7 @@ struct ZosConfig { } fn get_hub_url(runmode: &RunMode) -> Result> { - let base_url = "https://github.com/threefoldtech/zos-config/raw/main/"; + let base_url = "https://github.com/threefoldtech/zos_config/raw/main/"; let config_filename = match runmode { RunMode::Prod => "production.json", RunMode::Dev => "development.json", diff --git a/scripts/debug_image.md b/scripts/debug_image.md index 5a526618..8fde4529 100644 --- a/scripts/debug_image.md +++ b/scripts/debug_image.md @@ -49,7 +49,7 @@ NOTE: - [cloud-hypervisor](https://github.com/cloud-hypervisor/cloud-hypervisor): hypervisor that booting the machine - [virtiofsd](https://gitlab.com/muhamad.azmy/virtiofsd/): used to share a host directory for the rootfs. we are using a forked version -- [rfs v1](https://github.com/threefoldtech/rfs/tree/v1): mounts the flist file into a directory serving as the lower layer of the overlay file system. +- [rfs v1](https://github.com/threefoldtech/zos_rfs/tree/v1): mounts the flist file into a directory serving as the lower layer of the overlay file system. - `overlayfs`: mounts a read-write layer on the rootfs ## Script Walkthrough @@ -101,7 +101,7 @@ NOTE: - **rfs** ```bash - wget https://github.com/threefoldtech/rfs/releases/download/v1.1.1/rfs + wget https://github.com/threefoldtech/zos_rfs/releases/download/v1.1.1/rfs chmod +x ./rfs sudo ln -s $(realpath ./rfs) /usr/local/bin/rfs1 diff --git a/scripts/debug_image.sh b/scripts/debug_image.sh index af1666ad..4da604a7 100755 --- a/scripts/debug_image.sh +++ b/scripts/debug_image.sh @@ -106,7 +106,7 @@ check_or_install_deps() { fi if ! command -v rfs1 &>/dev/null; then - wget https://github.com/threefoldtech/rfs/releases/download/v1.1.1/rfs + wget https://github.com/threefoldtech/zos_rfs/releases/download/v1.1.1/rfs chmod +x rfs sudo ln -s $(realpath ./rfs) /usr/local/bin/rfs1 fi