logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://anongit.hacktivis.me/git/bootstrap-initrd.git/
commit: 35ee959633180125a02d2f40aa9b0689a1e1630d
parent aa243500949aac91b9f914cbb0575b9aecc23c91
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 11 Jan 2026 05:02:36 +0100

make-root.sh: add usr/lib/i386-linux-gnu symlink on x86

Diffstat:

Mmake-root.sh6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/make-root.sh b/make-root.sh @@ -199,7 +199,11 @@ rm usr/lib/libc.a # removing the musl-provided header allows to compile git # (still breaks GNU make though) case "${ALPINE_ARCH}" in - x86|x86_64|armhf) + x86) + # tcc x86 wants /usr/lib/i386-linux-gnu/crtn.o but it's installed at /usr/lib/crtn.o + ln -s . usr/lib/i386-linux-gnu + ;; + x86_64|armhf) ;; *) rm usr/include/alloca.h