logo

bootstrap-initrd

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

make.sh (298B)


  1. #!/bin/sh
  2. set -ex
  3. P="make-4.4.1"
  4. tar xof /distfiles/${P}.tar.gz
  5. cd ./$P
  6. export LD="tcc"
  7. ./configure --prefix=/usr --disable-nls --disable-dependency-tracking
  8. pdpmake clean
  9. # ARFLAGS as otherwise it passes -o which is invalid
  10. pdpmake ARFLAGS='-r'
  11. pdpmake install INSTALL=install
  12. cd ..
  13. rm -r ./$P