logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: ef034286f36a0e3408ee7bca1a1d61286bedf899
parent 87e43d105c634bb568de6f4e31f513a6f67fb767
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 24 May 2024 02:31:24 +0200

bootstrap-tiny-curl.sh: switch to (g)make

Diffstat:

Mbootstrap-tiny-curl.sh14++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/bootstrap-tiny-curl.sh b/bootstrap-tiny-curl.sh @@ -1,12 +1,22 @@ #!/bin/sh set -ex +die() { + echo "die: $@" + exit 1 +} + +# pdpmake: (Makefile:374): recursive macro am__v_lt_ +# pdpmake: (Makefile:1299): failed to build 'all-recursive' exit 1 +# Works with gmake and bmake +command -v make || die "Run /bootstrap-make.sh" + tar xof /tiny-curl-*.tar.gz cd tiny-curl-*/ LD=$CC ./configure --prefix=/usr --with-bearssl --with-ca-bundle=/usr/share/cacert/cert.pem -bmake RANLIB=true -bmake install INSTALL=install +make RANLIB=true +make install INSTALL=install cd .. rm -fr tiny-curl-*/