This commit is contained in:
2026-03-20 11:49:27 +01:00
parent 3cbe1e1f74
commit d66d544066
4 changed files with 174 additions and 27 deletions

View File

@@ -2,6 +2,33 @@
---
## V39 2026-03-20 23:30:00
**Add single-command bootstrap and fix lfs user permission issues**
### Changes:
- Added `toolchain/bootstrap.sh`: Single entry point that runs the entire Phase 0:
- Tears down and recreates the loopback filesystem (fresh start)
- Sets up environment, downloads sources
- Copies toolchain scripts to `$LFS/sources/toolchain-scripts/` (lfs-accessible)
- Runs `build-all.sh` as lfs user automatically
- Rewrote `toolchain/scripts/000-setup-disk.sh`:
- Now tears down existing build (unmount + delete image) on every run
- No longer exits early if mount exists — always gives a fresh filesystem
- Fixed `toolchain/scripts/build-all.sh`:
- Log directory changed from `${SCRIPT_DIR}/../logs` to `${LFS}/sources/logs/`
- Fixes "Permission denied" when lfs user can't write to danny's home dir
### Plan deviation/changes:
- Scripts are now copied to `$LFS/sources/toolchain-scripts/` rather than run from
the git repo. This avoids all permission issues with the lfs user not being able
to read /home/danny/. The git repo remains the source of truth.
### What is missing/needs polish:
- None
---
## V38 2026-03-20 23:00:00
**Sync all Phase 0 build scripts to match Danish mirror tarball versions**