From ce282cf23a54b24055ebebae4d2e8fed85146930 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Thu, 9 Nov 2023 21:39:59 +0100 Subject: [PATCH] v2.5.1 Signed-off-by: Jeroen Oudshoorn --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 97fd6edd..8cdad077 100644 --- a/Makefile +++ b/Makefile @@ -51,9 +51,7 @@ $(SDIST): setup.py pwnagotchi $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 +$pwnagotchi: 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