summaryrefslogtreecommitdiff
path: root/experiments/04_20251216_pkg_store/README
diff options
context:
space:
mode:
authorwrzosik <mia@miangie.dev>2026-01-24 23:21:49 +0100
committerwrzosik <mia@miangie.dev>2026-01-24 23:21:49 +0100
commit2fe1d98ce20bb8a44742d0c7af524bb8bc5d7504 (patch)
tree417d205433f33c2533603572378342e2307c4aa7 /experiments/04_20251216_pkg_store/README
parent73ff7de47a640f32e75e49c01d1b1ea333014b61 (diff)
experiment: building rootfs from package store (basics)HEADmain
First tries with overlayfs, 9p and virtio. First kernel compilled with custom configuration
Diffstat (limited to 'experiments/04_20251216_pkg_store/README')
-rw-r--r--experiments/04_20251216_pkg_store/README14
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)