diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-05-12 13:19:12 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-05-12 13:19:12 +0200 |
commit | 2c8b1277c862a4794bbe783541ab0716444dd456 (patch) | |
tree | c662786f503b79543577280a3d161bd7a2277013 /foreman | |
parent | 82acf9fc006912f50ca799dee2489b53c712d936 (diff) |
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 <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'foreman')
-rw-r--r-- | foreman/build/cache.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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;\ |