From 1ae143c11fbca04fa69aaa5ed4cb684f9c48348d Mon Sep 17 00:00:00 2001 From: Thiago Abdo Date: Fri, 25 Oct 2019 14:06:58 +0200 Subject: Fix base_image for using existing provisioned images Signed-off-by: Thiago Abdo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 86a5c97..ee62c51 100644 --- a/Makefile +++ b/Makefile @@ -151,7 +151,7 @@ $(PROVTARGETS): $(foreach flav, $(FLAVORS), %/$(flav)): %/base $(PROVTARGETS) $(REPROVTARGETS): $(eval FLAVOR := $(basename $(@F))) $(eval VERSION := $(if $(suffix $(@)), $(subst .,,$(suffix $(@))), 0)) - $(eval BASE_IMAGE := $(if $(wildcard $(@D)/build/rootfs-image),\ + $(eval BASE_IMAGE := $(if $(wildcard $(@)/build/rootfs-image),\ $(@)/build/rootfs-image,\ $(@D)/base/rootfs-image)) $(eval BUILD_DIR := $(@D)/$(FLAVOR).$(TIMESTAMP)) -- cgit v1.2.3-55-g7522