summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-13 15:14:51 +0100
committerJonathan Bauer2018-02-13 15:14:51 +0100
commit67d5493297e0d1e4303f5c751b436856a2134df4 (patch)
tree85276c46ed644862fc8566c7ed3ccf4b50ddcc2a
parentMakefile: boot targets: reintroduce deletion of tmp image if DEBUG is set (diff)
downloadpacker-templates-67d5493297e0d1e4303f5c751b436856a2134df4.tar.gz
packer-templates-67d5493297e0d1e4303f5c751b436856a2134df4.tar.xz
packer-templates-67d5493297e0d1e4303f5c751b436856a2134df4.zip
Makefile: boot targets: fix wrong path given to check_rootpw (causing the password hash check to fail)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3f427a6..22cd4b8 100644
--- a/Makefile
+++ b/Makefile
@@ -118,7 +118,7 @@ $(foreach flav, $(FLAVORS), %/$(flav)): %/base
# Generating boot files
$(BOOTTARGETS):
%/boot: %
- $(call check_rootpw,$(@D))
+ $(call check_rootpw,$(dir $(@D)))
$(eval BUILD_DIR := $(@D).$(TIMESTAMP))
$(info ** Generating boot files for '$(BUILD_DIR)')
$(PACKER) build -only=$(BUILDER) \