logo

bootstrap-initrd

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

lua.sh (255B)


  1. #!/bin/sh
  2. set -ex
  3. # TODO (need ed / sed -i): https://www.lua.org/tests/lua-5.4.6-tests.tar.gz
  4. tar xof /distfiles/lua-*.tar.gz
  5. cd lua-*/
  6. pdpmake -C src all CC="$CC -std=gnu99" SYSCFLAGS="-DLUA_USE_LINUX" RANLIB=true
  7. pdpmake install
  8. cd ..
  9. rm -fr lua-*/