logo

bootstrap-initrd

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

muon-stage1.sh (405B)


  1. #!/bin/sh
  2. set -ex
  3. command -v samu || die "Run /extras/samurai.sh"
  4. cd /extras/muon-*/
  5. export CC_LD="$CC" CFLAGS="${CFLAGS} -DBOOTSTRAP_NO_SAMU"
  6. ./bootstrap.sh bootstrap
  7. ./bootstrap/muon-bootstrap setup \
  8. -Dbuildtype=debugoptimized \
  9. -Dprefix=/usr \
  10. -Dlibcurl=disabled \
  11. -Dlibarchive=disabled \
  12. -Dsamurai=disabled \
  13. -Dlibpkgconf=disabled \
  14. build
  15. samu -v -C build
  16. samu -v -C build install
  17. cd -