aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_repobuild
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-08-17 20:36:51 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-08-24 16:19:28 +0200
commit1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a (patch)
treeec4e620c478fd501297a8c5195eff7d8ff1bcefd /build/f_isoroot/f_repobuild
parent655e777a5adeb633e114d98ffb02f74b227ab437 (diff)
build: cache: Consider UBUNTU_ARCH in .cacheid
Usually UBUNTU_ARCH is not changed inside the same repository, but we should consider this case anyway for future merging Armband and Fuel@OPNFV repositories/build systems. This applies to all Fuel plugins and the local repo. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'build/f_isoroot/f_repobuild')
-rw-r--r--build/f_isoroot/f_repobuild/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/f_isoroot/f_repobuild/Makefile b/build/f_isoroot/f_repobuild/Makefile
index 8312f5e55..7c6b16304 100644
--- a/build/f_isoroot/f_repobuild/Makefile
+++ b/build/f_isoroot/f_repobuild/Makefile
@@ -67,6 +67,7 @@ release:nailgun
sha1sum Makefile >> .cachedata
sha1sum config.mk >> .cachedata
$(CACHETOOL) packages >> .cachedata
+ echo -n $(UBUNTU_ARCH) | sha1sum | awk {'print $$1'} >> .cachedata
cat .cachedata | $(CACHETOOL) getid > .cacheid
# Clean local data related to caching - called prior to ordinary build