logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://anongit.hacktivis.me/git/bootstrap-initrd.git/
commit: 625a11d3a6a5cd100ede842935cc439732970b6b
parent af3d2233c117098aae8b62e46639e0931cb524a1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 21 Feb 2026 07:07:14 +0100

Apply wchar_t workaround for armhf as well

Diffstat:

Mmake-root.sh8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/make-root.sh b/make-root.sh @@ -215,7 +215,8 @@ case "${ALPINE_ARCH}" in ;; esac -if [ "${ALPINE_ARCH}" = aarch64 ]; then +case "${ALPINE_ARCH}" in +aarch64|armhf) # Compiling oksh-7.6 # In file included from alloc.c:12: # In file included from sh.h:16: @@ -225,7 +226,10 @@ if [ "${ALPINE_ARCH}" = aarch64 ]; then #sed -i 's;#define __WCHAR_TYPE__ int;#define __WCHAR_TYPE__ unsigned;' usr/lib/tcc/include/tccdefs.h # Make musl match tcc (yuck) sed -i 's;typedef unsigned wchar_t;typedef int wchar_t;' usr/include/bits/alltypes.h -fi + ;; +*) + ;; +esac cd "${out_base}/src"