summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4c16a67..6b2ec18 100644
--- a/Makefile
+++ b/Makefile
@@ -100,7 +100,7 @@ $(BASETARGETS):
# Provisioning images
$(PROVTARGETS):
$(foreach flav, $(FLAVORS), %/$(flav)): %/base
- $(call check_rootpw)
+ $(call check_rootpw,$(@D))
$(eval BUILD_DIR := $(@D)/$(@F).$(TIMESTAMP))
$(info ** Provisioning '$(@D)' with '$(@F)' **)
@mkdir -p $(BUILD_DIR)
@@ -117,7 +117,7 @@ $(foreach flav, $(FLAVORS), %/$(flav)): %/base
# Generating boot files
$(BOOTTARGETS):
%/boot: %
- $(call check_rootpw)
+ $(call check_rootpw,$(@D))
$(eval BUILD_DIR := $(@D).$(TIMESTAMP))
$(info ** Generating boot files for '$(BUILD_DIR)')
$(PACKER) build -only=$(BUILDER) \