Full working uboot+linux
This commit is contained in:
parent
233b7f2936
commit
f7690e653f
@ -30,6 +30,10 @@ cp -R conf/* target/overlay # copy target system config files
|
||||
cp -R webpanel/* target/overlay/var/www/html # copy the webpanel
|
||||
cp -R update/update.sh target/overlay #copy the update script and certificate
|
||||
|
||||
echo "[+] Adding firmware"
|
||||
mkdir -p target/overlay/lib
|
||||
cp -R firmware target/overlay/lib/ # adding binary firmware for wifi driver
|
||||
|
||||
echo "[+] Writing flags"
|
||||
sed -i "s/##FLAG1##/$flag1/g" target/overlay/var/www/html/includes/config.php
|
||||
echo $flag2 > target/overlay/flag
|
||||
@ -42,7 +46,7 @@ chmod 400 target/overlay/root/flag
|
||||
echo "[+] Building the keygen"
|
||||
mkdir -p target/overlay/usr/sbin
|
||||
aarch64-linux-gnu-gcc -o target/overlay/usr/sbin/cfgbin keygen/keygen.c -static -lm
|
||||
strip target/overlay/usr/sbin/cfgbin
|
||||
aarch64-linux-gnu-strip target/overlay/usr/sbin/cfgbin
|
||||
|
||||
echo "[+] Generating Update Key"
|
||||
mkdir -p target/keys
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user