mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
8
Makefile
8
Makefile
@ -56,15 +56,15 @@ $(PWN_RELEASE).img: $(SDIST) builder/pwnagotchi.json builder/pwnagotchi.yml $(sh
|
||||
cd builder && sudo $(UNSHARE) $(PACKER) build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" pwnagotchi.json
|
||||
|
||||
# If any of these files are updated, rebuild the checksums.
|
||||
$(PWN_RELEASE).sha256: $(PWN_RELEASE).img
|
||||
pwnagotchi-$(PWN_VERSION)-arm64sha256: ../../pwnagotchi-$(PWN_VERSION)-arm64.img
|
||||
sha256sum $^ > $@
|
||||
|
||||
# If any of the input files are updated, rebuild the archive.
|
||||
$(PWN_RELEASE).zip: $(PWN_RELEASE).img $(PWN_RELEASE).sha256
|
||||
zip $(PWN_RELEASE).zip $^
|
||||
pwnagotchi-$(PWN_VERSION)-arm64.zip: ../../pwnagotchi-$(PWN_VERSION)-arm64.img pwnagotchi-$(PWN_VERSION)-arm64.sha256
|
||||
zip pwnagotchi-$(PWN_VERSION)-arm64.zip $^
|
||||
|
||||
.PHONY: image
|
||||
image: $(PWN_RELEASE).zip
|
||||
image: pwnagotchi-$(PWN_VERSION)-arm64.zip
|
||||
|
||||
clean:
|
||||
- python3 setup.py clean --all
|
||||
|
@ -90,7 +90,7 @@
|
||||
{
|
||||
"type": "file",
|
||||
"source": "../builder/data/etc/update-motd.d/01-motd",
|
||||
"destination": "/etc/update-motd.d/01-motd",
|
||||
"destination": "/etc/update-motd.d/01-motd"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
|
Reference in New Issue
Block a user