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.
This commit is contained in:
Kyle Evans 2018-02-15 17:56:45 +00:00
parent f86b2f4817
commit 29cb326c9c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329327

View File

@ -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