logo

bootstrap-initrd

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

bootstrap-pkgconf.sh (323B)


  1. #!/bin/sh
  2. set -ex
  3. die() {
  4. echo "die: $@"
  5. exit 1
  6. }
  7. tar xof /pkgconf-*.tar.gz
  8. cd ./pkgconf-*/
  9. export LD="tcc"
  10. export MAKE="pdpmake"
  11. ./configure --prefix=/usr --disable-nls --disable-dependency-tracking
  12. $MAKE clean
  13. $MAKE ARFLAGS='-r'
  14. $MAKE install
  15. ln -s `command -v pkgconf` /usr/bin/pkg-config
  16. cd ..
  17. rm -r ./pkgconf-*/