diff options
Diffstat (limited to 'experiments/04_20251216_pkg_store/README')
| -rw-r--r-- | experiments/04_20251216_pkg_store/README | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/experiments/04_20251216_pkg_store/README b/experiments/04_20251216_pkg_store/README new file mode 100644 index 0000000..1a538db --- /dev/null +++ b/experiments/04_20251216_pkg_store/README @@ -0,0 +1,14 @@ +Goal: dynamically build rootfs from packages stored outside of initramfs +Status: success + +as POC I'm running sl (steam locomotive) as init after changing root + +for this experiment I needed to compile linux kernel with overlayfs, virtio and +9p drivers built in. Alternatively I could compile kernel with ext4 support and +load modules + +- new dir "pkgs.sl" contains packages required for steam locomotive to run +- make now creates pkg_store that contains unpacked packages from pkgs.sl +- run_qemu.sh now also adds virtio 9p mount with pkg_store +- init script mounts pkg_store and builds rootfs from it (and initramfs as base + system) |
