This commit is contained in:
2026-03-20 11:21:20 +01:00
parent 0d041913be
commit ad3819c9c9
4 changed files with 150 additions and 21 deletions

View File

@@ -2,6 +2,35 @@
---
## V37 2026-03-20 22:30:00
**Use Danish GNU mirror and add loopback disk setup script**
### Changes:
- Updated `toolchain/scripts/000a-download-sources.sh`:
- Switched all GNU package URLs to use `http://ftp.klid.dk/ftp/gnu` mirror
(faster from Denmark than ftp.gnu.org)
- Added `GNU_MIRROR` variable at top for easy mirror switching
- Non-GNU packages (kernel, mpfr, gmp, xz, zstd, perl, python, etc.) still
use their canonical upstream URLs
- Added `toolchain/scripts/000-setup-disk.sh`:
- Creates a 50GB loopback ext4 filesystem at /opt/darkforge.img
- Mounts it at /mnt/darkforge — acts exactly like a real partition
- Uses fallocate for instant allocation (no slow dd)
- Includes remount instructions and fstab entry
- Safe: no repartitioning needed, uses free space on root
- Updated `toolchain/scripts/000-env-setup.sh`:
- Improved error message to point users to 000-setup-disk.sh
### Plan deviation/changes:
- Using loopback file instead of a dedicated partition (user has no spare
partition but has 1.5TB free on root)
### What is missing/needs polish:
- None
---
## V36 2026-03-20 22:00:00
**Fix Phase 0 download script — 10+ version/filename mismatches with build scripts**