Language updates

This commit is contained in:
Jeroen Oudshoorn
2023-11-15 09:51:27 +01:00
parent c0effc00f2
commit f89220b396
21 changed files with 274 additions and 15 deletions

View File

@ -25,7 +25,7 @@ ifneq (,$(UNSHARE))
UNSHARE := $(UNSHARE) --uts
endif
all: clean install image
all: clean image
langs:
@for lang in pwnagotchi/locale/*/; do\
@ -52,7 +52,7 @@ pwnagotchi: | $(PACKER)
# If the packer or ansible files are updated, rebuild the image.
pwnagotchi: $(SDIST) builder/pwnagotchi.json.pkr.hcl builder/raspberrypi32.yml builder/raspberrypi64.yml builder/orangepi.yml builder/extras/nexmon.yml $(shell find builder/data -type f)
cd builder && packer init pwnagotchi.json.pkr.hcl && sudo $(UNSHARE) $(PACKER) build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" pwnagotchi.json.pkr.hcl
cd builder && $(PACKER) init pwnagotchi.json.pkr.hcl && sudo $(UNSHARE) $(PACKER) build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" pwnagotchi.json.pkr.hcl
.PHONY: image
image: pwnagotchi
@ -60,5 +60,4 @@ image: pwnagotchi
clean:
- python3 setup.py clean --all
- rm -rf dist pwnagotchi.egg-info
- rm -f $(PACKER)
- rm -f $(PACKER)