misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
d9d38e7a1e
commit
82bf9b9853
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
PWN_HOSTNAME=pwnagotchi
|
PWN_HOSTNAME=pwnagotchi
|
||||||
PWN_VERSION=master
|
PWN_VERSION=master
|
||||||
|
|
||||||
all: install image clean
|
all: clean install image
|
||||||
|
|
||||||
install:
|
install:
|
||||||
curl https://releases.hashicorp.com/packer/1.3.5/packer_1.3.5_linux_amd64.zip -o /tmp/packer.zip
|
curl https://releases.hashicorp.com/packer/1.3.5/packer_1.3.5_linux_amd64.zip -o /tmp/packer.zip
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
set -eu
|
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 )
|
REQUIREMENTS=( wget gunzip git dd e2fsck resize2fs parted losetup qemu-system-x86_64 )
|
||||||
DEBREQUIREMENTS=( wget gzip git parted qemu-system-x86 qemu-user-static )
|
DEBREQUIREMENTS=( wget gzip git parted qemu-system-x86 qemu-user-static )
|
||||||
REPO_DIR="$(dirname "$(dirname "$(realpath "$0")")")"
|
REPO_DIR="$(dirname "$(dirname "$(realpath "$0")")")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user