From 29cb326c9cfc37b315a8d3de4c8bce308b7e27ab Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Thu, 15 Feb 2018 17:56:45 +0000 Subject: [PATCH] Build loader before installing it in lua-img.sh Slightly more foolproof when all you're wanting to do is quickly get off the ground with testing the lua loader. --- tools/boot/lua-img.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/boot/lua-img.sh b/tools/boot/lua-img.sh index 5e9cc8d446c..eea6383e374 100755 --- a/tools/boot/lua-img.sh +++ b/tools/boot/lua-img.sh @@ -20,6 +20,7 @@ mkdir -p ${dir} mtree -deUW -f etc/mtree/BSD.root.dist -p ${dir} mtree -deUW -f etc/mtree/BSD.usr.dist -p ${dir}/usr cd stand +make MK_LOADER_LUA=yes MK_FORTH=no make install DESTDIR=${dir} NO_ROOT=t MK_LOADER_LUA=yes MK_FORTH=no MK_INSTALL_AS_USER=yes mkdir -p ${dir}/boot/kernel cp /boot/kernel/kernel ${dir}/boot/kernel