logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 232ca612f24d9d0545378176cd4c5e56af9d08d4
parent 3028a479a22cf70c2d2562577c9b9ceb7f857015
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 15 Jun 2024 21:10:00 +0200

bootstrap-bearssl.sh: pdpmake-2.0.0 builds bearssl fine

Diffstat:

Mbootstrap-bearssl.sh11+----------
Mbuild-extras.sh3++-
2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/bootstrap-bearssl.sh b/bootstrap-bearssl.sh @@ -1,21 +1,12 @@ #!/bin/sh set -ex -die() { - echo "die: $@" - exit 1 -} - tar xof /bearssl-*.tar.gz cd bearssl-*/ -# pdpmake: (mk/Rules.mk:315): invalid target name 'build/libbearssl.a': allow with pragma target_name -# Works with gmake and bmake -command -v make || die "Run /bootstrap-make.sh" - # Maybe consider setting the soname to libbearssl.so.${pkgver%%.*} as done in aports -make CC=$CC LD=$CC LDDLL=$CC +pdpmake CC=$CC LD=$CC LDDLL=$CC install build/brssl /usr/bin/ install -m 644 build/libbearssl.a build/libbearssl.so /usr/lib/ install -m 644 inc/* /usr/include/ diff --git a/build-extras.sh b/build-extras.sh @@ -3,9 +3,10 @@ set -ex /bootstrap-lua.sh +/bootstrap-bearssl.sh + /bootstrap-make.sh -/bootstrap-bearssl.sh # make /bootstrap-e2fsprogs.sh # make /bootstrap-gettext-tiny.sh # make /bootstrap-pkgconf.sh # make