Build script
This commit is contained in:
parent
fb39c04690
commit
b29151b87b
18
build.sh
Normal file
18
build.sh
Normal file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# for dependencies
|
||||
# apt install -t build-essential libncurses-dev bison flex libssl-dev libelf-dev
|
||||
|
||||
echo "[+] Starting build script..."
|
||||
mkdir target/overlay/var/www/html
|
||||
echo "[+] Cloning buildroot"
|
||||
git clone https://github.com/buildroot/buildroot.git target
|
||||
echo "[+] Building the keygen"
|
||||
|
||||
echo "[+] Adding customization files"
|
||||
cp -R buildroot/* target/buildroot # copy buildroot configs
|
||||
cp -R conf/* target/ovarlay # copy target system config files
|
||||
cp -R webpanel/* target/overlay/var/www/html # copy the webpanel
|
||||
cp -R update/* target/ovarlay #copy the update script and certificate
|
||||
echo "[+] Building the image"
|
||||
|
Loading…
Reference in New Issue
Block a user