mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-02-12 18:41:55 +00:00
27 lines
539 B
Bash
Executable file
27 lines
539 B
Bash
Executable file
#!/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
|