Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
v2.4.4
Browse files Browse the repository at this point in the history
Signed-off-by: Jeroen Oudshoorn <[email protected]>
  • Loading branch information
jayofelony committed Sep 29, 2023
1 parent 45d8265 commit bfbe45f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion builder/pwnagotchi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bfbe45f

Please sign in to comment.