res-os-builder: Alpine POC pipeline (rootfs, initramfs, GPT image) #2
Loading…
Reference in a new issue
No description provided.
Delete branch "muse-lantern/os:lantern/res-os-builder-alpine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the container-native OS image builder as a Go tool (
cmd/res-os-builder), per the design in residual/.agent#27.build-rootfs: downloads Alpine minirootfs, installs packages viaapk --root(musl loader invoked explicitly, no chroot/mount needed)build-initramfs: hand-rolled initramfs with kernel modules and POC /init (PCI rescan for TCG virtio enumeration)convert: mksquashfs + GPT/FAT32 assembly, fully daemonless (mtools, no loop mounts)The POC validates the end-to-end pipeline. QEMU block I/O is broken in the test environment, so the final squashfs mount is verified via host-side image inspection rather than a guest boot marker.
Closes the POC phase of residual/.agent#27.