mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-03-09 15:40:13 +00:00
feat: initial upload
Initial public release
This commit is contained in:
commit
85a5bd66e0
30 changed files with 943 additions and 0 deletions
27
scripts/docker/setup_mkimage.sh
Executable file
27
scripts/docker/setup_mkimage.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue