From 82bf9b9853d7ec92916c438a8d1fa6b0a6e3a111 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Mon, 14 Oct 2019 14:38:24 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- Makefile | 2 +- scripts/create_sibling.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4c97749..117e222 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PWN_HOSTNAME=pwnagotchi PWN_VERSION=master -all: install image clean +all: clean install image install: curl https://releases.hashicorp.com/packer/1.3.5/packer_1.3.5_linux_amd64.zip -o /tmp/packer.zip diff --git a/scripts/create_sibling.sh b/scripts/create_sibling.sh index c0d7558..a60a42f 100755 --- a/scripts/create_sibling.sh +++ b/scripts/create_sibling.sh @@ -4,6 +4,9 @@ set -eu +echo "THIS SCRIPT IS DEPRECATED, PLEASE REFER TO THE OFFICIAL DOCUMENTATION AT https://pwnagotchi.ai/contributing/#creating-an-image" +exit 1 + REQUIREMENTS=( wget gunzip git dd e2fsck resize2fs parted losetup qemu-system-x86_64 ) DEBREQUIREMENTS=( wget gzip git parted qemu-system-x86 qemu-user-static ) REPO_DIR="$(dirname "$(dirname "$(realpath "$0")")")"