From: Fatih Degirmenci Date: Tue, 12 May 2015 11:19:12 +0000 (+0200) Subject: Fix foreman build validate-cache target X-Git-Tag: arno.2015.1.0~52 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=genesis.git;a=commitdiff_plain;h=2c8b1277c862a4794bbe783541ab0716444dd456 Fix foreman build validate-cache target Due to missing prepare dependency, cache is constantly invalidated. Removing non-existent dependency fixes this problem. JIRA: BGS-0000 Change-Id: I700a11aade7d53bcfb5b2d0c4d52cec49c44ee8c Signed-off-by: Fatih Degirmenci --- diff --git a/foreman/build/cache.mk b/foreman/build/cache.mk index 9ae3a7c..fdfd003 100644 --- a/foreman/build/cache.mk +++ b/foreman/build/cache.mk @@ -57,7 +57,7 @@ $(CACHEFILES): fi .PHONY: validate-cache -validate-cache: prepare $(CACHEVALIDATE) +validate-cache: $(CACHEVALIDATE) @if [[ $(shell md5sum $(BUILD_BASE)/config.mk | cut -f1 -d " ") != $(shell cat $(VERSION_FILE) | grep config.mk | awk '{print $$NF}') ]]; then\ echo "Cache does not match current config.mk definition, cache must be rebuilt";\ exit 1;\