Rebase of ks.cfg due to upstream changes
[fuel.git] / build / f_isoroot / f_qemupluginbuild / Makefile
index 19a2337..0f245ae 100644 (file)
@@ -37,7 +37,7 @@ release:.qemubuild
        @rm -rf fuel-plugin-qemu
        sudo apt-get -y install build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
        sudo pip install fuel-plugin-builder
-       ./install_docker.sh
+       ../../docker/ubuntu-builder/install_docker.sh
        git clone $(QEMU_REPO)
        cd fuel-plugin-qemu; \
        git checkout $(QEMU_BRANCH); \
@@ -50,6 +50,9 @@ release:.qemubuild
        $(REPOINFO) -r . > gitinfo_qemu-plugin.txt
        @rm -rf fuel-plugin-qemu
        @touch .qemubuild
+       # Store artifact in cache straight away if caching is enabled
+       # (no .cacheid will be present unless this is a cached build)
+       test -f .cacheid && $(MAKE) -f Makefile put-cache || exit 0
 
 #############################################################################
 # Cache operations - only used when building through ci/build.sh