summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Messner2018-02-13 15:11:57 +0100
committerManuel Messner2018-02-13 15:22:52 +0100
commit8a2b962a69554323f7cc9d2e45faa28232b53731 (patch)
tree872b78555a7ef40aee43f0dc5b4b46ef1375e38e /Makefile
parentMakefile: add missing empty line (diff)
downloadpacker-templates-8a2b962a69554323f7cc9d2e45faa28232b53731.tar.gz
packer-templates-8a2b962a69554323f7cc9d2e45faa28232b53731.tar.xz
packer-templates-8a2b962a69554323f7cc9d2e45faa28232b53731.zip
Makefile: hasher: make it optional
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5bb97b..d89bac1 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@ ifdef VERBOSE
endif
-HASHER := sha256sum
+HASHER ?= sha256sum
check_rootpw = $(if $(strip $(ROOTPW)),\
$(if $1,\
$(if $(shell echo "$(ROOTPW)" | $(HASHER) --check --quiet $1/base/rootpw.$(HASHER)),\