logo

bootstrap-initrd

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

iproute2.sh (366B)


  1. #!/bin/sh
  2. set -ex
  3. die() {
  4. echo "die: $@"
  5. exit 1
  6. }
  7. command -v muon || die "Run /extras/muon-stage2.sh"
  8. cd /extras/iproute2-*/
  9. {
  10. printf 'man_man8 = ['
  11. printf "'%s', " man/man8/*.8
  12. printf ']\n'
  13. } > man/man8/meson.build
  14. export CC_LD=$CC
  15. muon setup \
  16. -Dbuildtype=debugoptimized \
  17. -Dprefix=/usr \
  18. build || die
  19. muon -C build samu
  20. muon -C build install
  21. cd -