From f709bc88f3fda4f1669f5d455ece2eaba293ede0 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Mon, 5 Aug 2024 18:40:46 -0500 Subject: Start working on filesystem --- prepare | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 prepare (limited to 'prepare') diff --git a/prepare b/prepare new file mode 100644 index 0000000..73e85b6 --- /dev/null +++ b/prepare @@ -0,0 +1,9 @@ +#!/bin/sh -ex + +apk add luarocks$rocks_ver +luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") +mkdir "$luaver" +tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 +rm "/root/$luaver/src/*.c" +luarocks-$rocks_ver config variables.LUA_INCDIR "/root/$luaver/src" +luarocks-$rocks_ver config variables.CFLAGS "$CFLAGS" -- cgit v1.2.3-55-g6feb