Commit Graph

18 Commits

Author SHA1 Message Date
7eb27ff376 Fix critical build pipeline and update documentation
CRITICAL FIXES:
- Fix build-initramfs.sh early exit preventing zinit installation
- Add binary detection/installation logic to setup-initramfs.sh
- Ensure compiled components are properly installed to initramfs

DOCUMENTATION:
- Update README.md to reflect actual implementation
- Document source compilation approach with git submodules
- Add development workflow and caching documentation
- Remove outdated GitHub releases references

This fixes the 'zinit not found' boot error by ensuring the build
pipeline completes all phases including initramfs assembly.
2025-08-16 21:04:07 +02:00
e3db295eb9 Add static OpenSSL libraries for Rust musl builds
- Add openssl-libs-static package to both Dockerfiles
- Add pkgconfig for proper SSL library detection
- Fixes mycelium compilation error with missing -lssl and -lcrypto
2025-08-16 20:38:45 +02:00
1bc6005a48 Fix cargo availability in dev-shell environment
- Add cargo to PATH in dev-shell service
- Add target-cache volume for Rust build caching
- Use login shell to properly source cargo environment
- Keeps existing build infrastructure and caching strategy
2025-08-16 20:35:13 +02:00
23180a1b0e Fix component build issues
- Add binary detection logic for RFS build to handle different binary names
- Remove non-existent 'vendored-openssl' feature from mycelium build
- Add debugging output to show actual build results
2025-08-16 20:23:25 +02:00
99485106d3 Update submodules: mycelium and rfs to latest commits 2025-08-16 20:22:11 +02:00
d94a4829a2 Add cleanup script and remove unused git version variables
- Add comprehensive cleanup script (scripts/cleanup.sh) to remove build artifacts
- Remove unused VERGEN_GIT_* environment variables from Rust build functions
- Cleanup script preserves source code while removing outputs, cache, and temp files
2025-08-16 20:21:51 +02:00
653c751535 Lots of fixes
details
  details
  details
2025-08-16 00:52:30 +02:00
809c4efece Add comprehensive git environment variables for build scripts 2025-08-15 23:27:26 +02:00
caebd0eeda Fix git version detection for zinit build 2025-08-15 23:22:39 +02:00
a3e56b9eeb Fix components mount: remove read-only for cargo build access 2025-08-15 23:19:36 +02:00
e347332ee5 Fix zinit: it's Rust, not Go 2025-08-15 22:59:09 +02:00
5f262d6efb Fix Alpine root path to use initramfs directory 2025-08-15 22:46:15 +02:00
829f7d034e Add components volume mount to docker-compose services 2025-08-15 22:45:41 +02:00
f1829141a3 Update Rust build system: use rustup with musl target for static builds 2025-08-15 22:44:19 +02:00
756b7e5514 Add Zero-OS components: zinit, rfs v2.0.6, mycelium v0.6.1, corex v2.1.4 2025-08-15 22:40:31 +02:00
a489a052bb Clean up submodule references 2025-08-15 22:38:36 +02:00
ee842f3783 Fix .gitignore: allow tracking of components/ submodules directory 2025-08-15 22:12:14 +02:00
9b14d94bbe Initial commit: Alpine Zero-OS initramfs build system with cleaned Docker configuration 2025-08-15 22:11:44 +02:00