From 2fe1d98ce20bb8a44742d0c7af524bb8bc5d7504 Mon Sep 17 00:00:00 2001 From: wrzosik Date: Sat, 24 Jan 2026 23:21:49 +0100 Subject: experiment: building rootfs from package store (basics) First tries with overlayfs, 9p and virtio. First kernel compilled with custom configuration --- experiments/04_20251216_pkg_store/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 experiments/04_20251216_pkg_store/README (limited to 'experiments/04_20251216_pkg_store/README') 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) -- cgit v1.2.3