logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://anongit.hacktivis.me/git/bootstrap-initrd.git/

bootstrap-bearssl.sh (332B)


  1. #!/bin/sh
  2. set -ex
  3. tar xof /bearssl-*.tar.gz
  4. cd bearssl-*/
  5. # Maybe consider setting the soname to libbearssl.so.${pkgver%%.*} as done in aports
  6. pdpmake CC=$CC LD=$CC LDDLL=$CC
  7. install build/brssl /usr/bin/
  8. install -m 644 build/libbearssl.a build/libbearssl.so /usr/lib/
  9. install -m 644 inc/* /usr/include/
  10. cd ..
  11. rm -fr bearssl-*/