logo

bootstrap-initrd

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

bootstrap-gettext-tiny.sh (306B)


  1. #!/bin/sh
  2. set -ex
  3. die() {
  4. echo "die: $@"
  5. exit 1
  6. }
  7. command -v make || die "Run /bootstrap-make.sh"
  8. tar xof /gettext-tiny-*.tar.gz
  9. cd gettext-tiny-*/
  10. export RANLIB=true
  11. # utils-std install(1) lacks -l option
  12. unset INSTALL
  13. make
  14. make install LIBINTL=MUSL libdir=/usr/lib/
  15. cd ..
  16. rm -fr gettext-tiny-*/