aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorStefan K. Berg <stefan.k.berg@ericsson.com>2016-01-22 10:05:07 +0100
committerStefan K. Berg <stefan.k.berg@ericsson.com>2016-01-22 11:22:00 +0100
commitc31529bb3b54a4c0db244c0929659f120f735fab (patch)
tree8fd338251910151c1f21188b1f5c86b1fe1d90e3 /build
parent394c79fe428faa9c50ed1db6d750b363b44130b9 (diff)
Store Fuel ISO in build cache as it is built
Right not the build cache is populated after a full (successful) build. As the Fuel ISO takes some time to build, this saves quite some time in the cases where the ISO is built successfully but a following plugin build fails. Change-Id: Ic6be1f5b5d00b9436eb0f82911cf28b449d0a156 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Diffstat (limited to 'build')
-rw-r--r--build/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index 1d28db329..4f5d47b36 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -119,6 +119,10 @@ $(ISOCACHE):
sudo ./fuel_build_loop
cp /tmp/fuel-main/build/artifacts/fuel*.iso .
+ # Attempt to store ISO in cache to speed up the next
+ # build attempt. If cache is not enabled no harm is done.
+ $(MAKE) -f Makefile put-cache
+
.PHONY: mount-origiso umount-origiso
mount-origiso: $(ISOCACHE)
@echo "Mounting original ISO in $(ORIGDIR)"