logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 9efd58da19fd692c069e67a31443e88a75b6bfef
parent f6ca140ab594af185be639082a9140519280f6d8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 24 May 2024 03:38:42 +0200

bootstrap-e2fsprogs.sh: Fix building with utils-std ln(1)

Diffstat:

Mbootstrap-e2fsprogs.sh12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/bootstrap-e2fsprogs.sh b/bootstrap-e2fsprogs.sh @@ -11,6 +11,17 @@ command -v make || die "Run /bootstrap-make.sh" tar xof /e2fsprogs-*.tar.gz cd ./e2fsprogs-*/ +# workaround bug in utils-std ln(1) +ed lib/et/Makefile.in <<'EOF' +/LINK_INSTALL_FLAGS +c + $(LN) $(LINK_INSTALL_FLAGS) et/com_err.h ./com_err.h ) +. +p +w +q +EOF + LD=tcc ./configure --disable-nls --disable-backtrace # Replace __GNUC_PREREQ calls with 1 @@ -28,7 +39,6 @@ w q EOF -unset MAKE make clean make make install INSTALL=install