feat: initial upload

Initial public release
This commit is contained in:
Chris Blake 2024-05-19 14:04:59 -05:00
commit 85a5bd66e0
30 changed files with 943 additions and 0 deletions

27
scripts/docker/setup_mkimage.sh Executable file
View file

@ -0,0 +1,27 @@
#!/bin/bash
set -e
# setup_mkimage is special, as it's copied to the dockerfile and ran
# same with vars.sh which we put in place
. /vars.sh
cd /usr/src
echo "Downloading genimage..."
wget ${genimage_src} -O /usr/src/${genimage_filename}
echo "Extracting genimage..."
tar -xJf /usr/src/${genimage_filename}
echo "Building genimage..."
cd ./${genimage_repopath}
./configure
make
echo "Installing genimage..."
make install
echo "Cleaning up..."
rm -rf /vars.sh # We wanna use it n burn it
rm -rf /usr/src/${genimage_repopath}*
exit 0