From 7364c8b30a579966fa6aead37f26d104f423da02 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 19 Mar 2020 16:47:41 +0100 Subject: Makefile: actually check ROOTPW in base targets --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d1579e0..b9b628b 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ TIMESTAMP := $(shell date "+%Y-%m-%d_%H-%M-%S") # The ROOTPW is only needed for the base, boot and provisioning targets. # In every other case it must not be checked as it should be possible to call # help or cleanup without the need of defining the password. -PW_NEEDED := $(filter $(strip $(PROVTARGETS) $(BOOTTARGETS)),$(MAKECMDGOALS)) +PW_NEEDED := $(filter $(strip $(BASETARGETS) $(PROVTARGETS) $(BOOTTARGETS)),$(MAKECMDGOALS)) ifneq ($(PW_NEEDED),) ifeq ($(strip $(ROOTPW)),) $(error No root password is set, set it as ROOTPW in your environment.) -- cgit v1.2.3-55-g7522