logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://anongit.hacktivis.me/git/bootstrap-initrd.git/
commit: 9ce56bb2a1f133833534abe4ff9be1c949051095
parent c30afc7d4ed2addc578ff05aab691715ee8694aa
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 13 Sep 2025 04:01:21 +0200

RATIONALES-Exclusion.md: new

Diffstat:

ARATIONALES-Exclusion.md29+++++++++++++++++++++++++++++
MREADME.md2+-
2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/RATIONALES-Exclusion.md b/RATIONALES-Exclusion.md @@ -0,0 +1,29 @@ +# Rationales for Exclusion + +For standards/software which would be reasonable in a base system or even expected, +but won't be there in the case of bootstrap-initrd. + +## OpenPGP + +Quite involved to implement due to it's packets structure and usage of many algorithms instead of few hand picked ones. +And when it comes to currently available implementations: + +- GnuPG is way too big and has too many dependencies +- The verify-only version of NetPGP could be interesting but it's latest "versions" are just shoved as-is in pkgsrc repo instead of a tarball, and it still relies on a pre-made binary pubring file +- Sequoia is in Rust, no way + +Alternatives: +- ssh signatures: Still many different algorithms but the format is much simpler +- signify signatures: Very simple, and different implementations to choose from that are appropriate for bootstrap-initrd + +## Programing Languages + +Perl, Python, … require archeology into ancient versions to bootstrap from full source. + +As demonstrated by live-bootstrap: <https://github.com/fosslinux/live-bootstrap/blob/master/parts.rst> + +Alternatives: +- POSIX Shell :) +- Lua: Included in extras +- JavaScript: Possible thanks to QuickJS but the System APIs do not match NodeJS/Deno/… +- execline: Effectively just shell but simpler diff --git a/README.md b/README.md @@ -33,7 +33,7 @@ You can set `ALPINE_ARCH` to change the architecture, by default it's set to `x8 ## Rationales -Moved to RATIONALES.md +Moved to RATIONALES.md and RATIONALES-Exclusion.md ## Extras