This commit is contained in:
kento2 2026-09-04 19:59:24 +02:00
commit 55385f8857
69 changed files with 1125 additions and 0 deletions

9
builder/README Normal file
View file

@ -0,0 +1,9 @@
build steps:
- create rootfs(empty fs)
- fetch all files(including dependencies) + cache
- extract/install files/deps
- chroot into rootfs
impl details:
- use queues for fetch and extract with parallel workers
- rootfs

10
builder/run Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
mkdir -p rootfs
podman run \
-v ./rootfs:/data \
docker.io/fedora \
dnf5 \
--installroot /data \
--repofrompath "bootstrap,https://ftp.uni-stuttgart.de/fedora/releases/44/Everything/x86_64/os/" \
--assumeyes \
install basesystem ed