-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
28 lines (23 loc) · 1.01 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Set an absolute path in the config file for WORK_DIR and DEPLOY_DIR
# DEPLOY_DIR is where the final image will be stored
# WORK_DIR is where all the data is stored before merged into an image
# WORK_DIR can use up to 20GB of storage space
# refer to https://github.com/RPi-Distro/pi-gen/blob/master/README.md
# clone pi-gen into pi-gen-32bit folder
32bit:
sudo ./pi-gen-32bit/build.sh -c config-32bit
chown jayofelony:jayofelony -R /home/jayofelony/images
# clone pi-gen arm64 branch into pi-gen-64bit folder
64bit:
sudo ./pi-gen-64bit/build.sh -c config-64bit
chown jayofelony:jayofelony -R /home/jayofelony/images
update_langs:
@for lang in stage3/05-install-pwnagotchi/files/pwnagotchi/pwnagotchi/locale/*/; do\
echo "updating language: $$lang ..."; \
./scripts/language.sh update $$(basename $$lang); \
done
compile_langs:
@for lang in stage3/05-install-pwnagotchi/files/pwnagotchi/pwnagotchi/locale/*/; do\
echo "compiling language: $$lang ..."; \
./scripts/language.sh compile $$(basename $$lang); \
done