From 6921fd14a34dcce08696eb6670f15dadd8824b19 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Wed, 17 Jan 2024 20:46:03 +0100 Subject: [PATCH] Update Makefile --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3f10ad8d..52dacd21 100644 --- a/Makefile +++ b/Makefile @@ -48,15 +48,11 @@ $(PACKER): rm $(PACKER).zip chmod +x $@ -SDIST := dist/pwnagotchi-$(PWN_VERSION).tar.gz -$(SDIST): setup.py pwnagotchi - python3 setup.py sdist - # Building the image requires packer, but don't rebuild the image just because packer updated. pwnagotchi: | $(PACKER) # If the packer or ansible files are updated, rebuild the image. -pwnagotchi: $(SDIST) builder/pwnagotchi.json.pkr.hcl builder/raspberrypi64.yml $(shell find builder/data -type f) +pwnagotchi: builder/pwnagotchi.json.pkr.hcl builder/raspberrypi64.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