Keygen cross compilation
This commit is contained in:
parent
d43cda2932
commit
0258b7cfb7
@ -44,6 +44,12 @@ Per Debian 10, installare
|
|||||||
sudo apt install -t build-essential libncurses-dev bison flex libssl-dev libelf-dev
|
sudo apt install -t build-essential libncurses-dev bison flex libssl-dev libelf-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Per la cross compilazioen del keygen su ARM installare
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install crossbuild-essential-arm64
|
||||||
|
```
|
||||||
|
|
||||||
Eseguire da utente normale
|
Eseguire da utente normale
|
||||||
```
|
```
|
||||||
./build.sh
|
./build.sh
|
||||||
|
@ -41,7 +41,7 @@ chmod 400 target/overlay/root/flag
|
|||||||
|
|
||||||
echo "[+] Building the keygen"
|
echo "[+] Building the keygen"
|
||||||
mkdir -p target/overlay/usr/sbin
|
mkdir -p target/overlay/usr/sbin
|
||||||
gcc -o target/overlay/usr/sbin/cfgbin keygen/keygen.c -static -lm
|
aarch64-linux-gnu-gcc -o target/overlay/usr/sbin/cfgbin keygen/keygen.c -static -lm
|
||||||
strip target/overlay/usr/sbin/cfgbin
|
strip target/overlay/usr/sbin/cfgbin
|
||||||
|
|
||||||
echo "[+] Generating Update Key"
|
echo "[+] Generating Update Key"
|
||||||
|
Loading…
Reference in New Issue
Block a user