Fix CentOS Stream 10 checksum file retrieval (follow-up #966) #967
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
While verifying the fixes from my previous PR #966, a specific issue with CentOS Stream 10 was identified.
CentOS Stream 10 builds fail as attempting to fetch
sha256sum.txt.asc. Like CentOS Stream 9, Stream 10 uses a singleSHA256SUMfile.Error Log:
Fix
Updated
sources/centos-http.goto apply the same checksum file logic used for CentOS Stream 9 to CentOS Stream 10.Verification
Verified success for CentOS Stream 10. Also verified stability across other recently fixed distributions (VoidLinux, Gentoo, Rocky Linux) to ensure no issues.
Verification Logs
VoidLinux (Only HTTPS) (Verification - Passed)
sudo distrobuilder build-dir lxc-ci/images/voidlinux.yaml ./rootfs-test \ -o image.architecture=x86_64 \ -o image.release=current \ -o source.url=https://mirrors.cicku.me/voidlinux/live/current/ INFO [2026-01-10T21:43:57+08:00] Downloading source INFO [2026-01-10T21:43:58+08:00] Unpacking image file=/tmp/distrobuilder/voidlinux-current-x86_64/void-x86_64-ROOTFS-20250202.tar.xzGentoo OpenRC (Verification - Passed)
Gentoo Systemd (Verification - Passed)
CentOS Stream 10 (Verification - Passed)
sudo distrobuilder build-dir lxc-ci/images/centos.yaml ./rootfs-test \ -o image.architecture=x86_64 \ -o image.variant=default \ -o source.variant=boot \ -o source.url=http://mirrors.xtom.com/centos-stream/ INFO [2026-01-10T21:46:06+08:00] Downloading source /tmp/distrobuilder/centos-10-stream-x86_64/SHA256SUM: 100% (368B/s) INFO [2026-01-10T21:46:08+08:00] Unpacking image file=/tmp/distrobuilder/centos-10-stream-x86_64/CentOS-Stream-10-20260105.0-x86_64-boot.isoCentOS Stream 9 (Verification - Passed)
sudo distrobuilder build-dir lxc-ci/images/centos.yaml ./rootfs-test \ -o image.architecture=x86_64 \ -o image.release=9-Stream \ -o image.variant=default \ -o source.variant=boot \ -o source.url=http://mirrors.xtom.com/centos-stream/ INFO [2026-01-10T21:46:38+08:00] Downloading source /tmp/distrobuilder/centos-9-stream-x86_64/SHA256SUM: 100% (365B/s) INFO [2026-01-10T21:46:41+08:00] Unpacking image file=/tmp/distrobuilder/centos-9-stream-x86_64/CentOS-Stream-9-20260105.0-x86_64-boot.isoRocky Linux 10 (Verification - Passed)
Rocky Linux 9 (Verification - Passed)
sudo distrobuilder build-dir lxc-ci/images/rockylinux.yaml ./rootfs \ -o image.architecture=x86_64 \ -o image.release=9 \ -o image.variant=default \ -o source.variant=boot \ -o source.url=https://mirrors.xtom.com/rocky/ INFO [2026-01-10T22:15:44+08:00] Downloading source /tmp/distrobuilder/rockylinux-9-x86_64/CHECKSUM: 100% (928B/s) INFO [2026-01-10T22:15:46+08:00] Unpacking ISO file=/tmp/distrobuilder/rockylinux-9-x86_64/Rocky-9.7-x86_64-boot.isoRocky Linux 8 (Verification - Passed)
sudo distrobuilder build-dir lxc-ci/images/rockylinux.yaml ./rootfs \ -o image.architecture=x86_64 \ -o image.release=9 \ -o image.variant=default \ -o source.variant=boot \ -o source.url=https://mirrors.xtom.com/rocky/ INFO [2026-01-10T22:16:38+08:00] Downloading source /tmp/distrobuilder/rockylinux-8-x86_64/CHECKSUM: 100% (1.50kB/s) INFO [2026-01-10T22:16:39+08:00] Unpacking ISO file=/tmp/distrobuilder/rockylinux-8-x86_64/Rocky-8.10-x86_64-boot.iso