From 186ea48899f7205d37f52629356e3bb0a51c1390 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 12 Feb 2018 19:31:14 +0100 Subject: Makefile: validate passwords on provisioning targets --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) \ -- cgit v1.2.3-55-g7522