update installer and docs

This commit is contained in:
Astral
2026-09-01 08:21:01 +02:00
parent 6729f58ed6
commit 6b65014d64
6 changed files with 178 additions and 53 deletions
+4 -2
View File
@@ -23,7 +23,7 @@ KAMA="$KAMA_DIR/kama"
[ -d "$PKGS_DIR" ] || die "kama-packages repo not found at $PKGS_DIR (set PKGS_DIR)"
info "building Keru rootfs into $ROOT"
info "profile: init=$INIT libc=$LIBC fs=$TARGET_FS kernel=$KERNEL"
info "profile: init=$INIT libc=$LIBC fs=$TARGET_FS kernel=$KERNEL sudo=$SUDO"
# stage 0 — bootstrap toolchain
info "stage 0: bootstrap toolchain (gcc binutils glibc/musl)"
@@ -38,9 +38,11 @@ for p in "${BASE_PACKAGES[@]}"; do
done
# stage 2 — kernel + init + swappables
info "stage 2: kernel + init"
info "stage 2: kernel + init + sudo + net"
PKGDIR="$PKGS_DIR" "$KAMA" make "$KERNEL" || die "kernel build failed"
PKGDIR="$PKGS_DIR" "$KAMA" make "$INIT" || die "init build failed ($INIT)"
PKGDIR="$PKGS_DIR" "$KAMA" make "$SUDO" || die "sudo tool build failed ($SUDO)"
PKGDIR="$PKGS_DIR" "$KAMA" make "$NET" || die "net tool build failed ($NET)"
# stage 3 — fstab/mkinitramfs for the chosen FS
info "stage 3: finalize $TARGET_FS root"