logo

bootstrap-initrd

Linux initrd generator to bootstrap a POSIX-ish system from a reasonably small binary seed git clone https://hacktivis.me/git/make-initrd.git
commit: 18701dae6fddca053a98f465a2ac422155dfdda6
parent 831d79b18313193a72e0de5ba6ab44649efeef4f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 29 Apr 2024 23:25:39 +0200

README.md: Update status, mention autoconf unreadable code

Diffstat:

MREADME.md7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -4,9 +4,10 @@ Copyright 2017 Haelwenn (lanodan) Monnier <contact@hacktivis.me> SPDX-License-Identifier: ISC ``` -A initrd generator for Linux to bootstrap a POSIX-ish system from a reasonably small binary seed, full source bootstrap isn't intended as a goal. +A initrd generator for Linux to bootstrap a POSIX-ish system from a reasonably small binary seed. +Full source bootstrap isn't intended as a goal but no further binaries than TCC and musl are allowed (enforced by [deblob](https://hacktivis.me/projects/deblob)). A possible further goal could be to try stripping out as much unreviewable code like autoconf loves to generate. -Status: Very early experiments, doesn't yet builds everything, generator very likely doesn't runs on your machine. +Status: Very early experiments, has yet to build enough to bootstrap any distro, generator very likely doesn't runs on your machine. ## Rationales Each of those roughly by their build order. @@ -35,7 +36,7 @@ The reference implementation of yacc, only needs a C Compiler to build. (Unlike My own software, which explicitly allows to bootstrap with an incomplete POSIX environment such as this one. Meanwhile: - GNU coreutils: Autoconf, therefore needs the utilities it's building plus some extras to already be available -- Busybox and Toybox: Heavy dependency on make, which can only come much later on in the bootstrapping process +- Busybox and Toybox: Heavy dependency on GNU Make, bash, …, which can only come much later on in the bootstrapping process ### minised Incomplete implementation of `sed(1)` (notably missing `-i`), but has minimal dependencies.