Edited Makefile for arm64

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-07-21 13:44:27 +02:00
parent 066cd3fc6d
commit d022743ec1

View File

@ -1,6 +1,6 @@
PACKER_VERSION=1.7.2
PACKER_VERSION=1.9.2
PWN_HOSTNAME=pwnagotchi
PWN_VERSION=master
PWN_VERSION=torch
all: clean install image
@ -11,7 +11,7 @@ langs:
done
install:
curl https://releases.hashicorp.com/packer/$(PACKER_VERSION)/packer_$(PACKER_VERSION)_linux_amd64.zip -o /tmp/packer.zip
curl https://releases.hashicorp.com/packer/$(PACKER_VERSION)/packer_$(PACKER_VERSION)_linux_arm64.zip -o /tmp/packer.zip
unzip /tmp/packer.zip -d /tmp
sudo mv /tmp/packer /usr/bin/packer
git clone https://github.com/solo-io/packer-plugin-arm-image /tmp/packer-plugin-arm-image