summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_vsperfpluginbuild/Makefile
diff options
context:
space:
mode:
authorBilly O'Mahony <billy.o.mahony@intel.com>2016-01-20 17:13:56 +0000
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-01-28 19:52:26 +0000
commita5748ad1e936461a5cb592e354e7b1c771c924f0 (patch)
tree7144347a9daa0282c3e3d4aeed54c9062d169757 /build/f_isoroot/f_vsperfpluginbuild/Makefile
parentc2445cb3b61e28027c69c234479212852cff5bc7 (diff)
fuel-plugin-vsperf: Change repo for vswitchperf plugin
Change-Id: I694039c2762f17dfa4fdb642ad34e31aa7e2362a Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
Diffstat (limited to 'build/f_isoroot/f_vsperfpluginbuild/Makefile')
-rw-r--r--build/f_isoroot/f_vsperfpluginbuild/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/build/f_isoroot/f_vsperfpluginbuild/Makefile b/build/f_isoroot/f_vsperfpluginbuild/Makefile
index c9653d785..f45aecb88 100644
--- a/build/f_isoroot/f_vsperfpluginbuild/Makefile
+++ b/build/f_isoroot/f_vsperfpluginbuild/Makefile
@@ -34,19 +34,20 @@ release:.vsperfbuild
cd $(BUILD_BASE) && mkdir -p ../deploy/templates/plugins && cp -rf $(TOP)/config/* ../deploy/templates/plugins
.vsperfbuild:
- @rm -rf fuel-plugin-vsperf
+ @rm -rf vswitchperf
sudo apt-get -y install build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
sudo pip install fuel-plugin-builder
../../docker/ubuntu-builder/install_docker.sh
- git clone $(VSPERF_REPO)
- cd fuel-plugin-vsperf; \
+ git clone $(VSPERF_REPO) vswitchperf
+ cd vswitchperf; \
git checkout $(VSPERF_BRANCH); \
if [ ! -z $(VSPERF_CHANGE) ]; then \
git fetch $(VSPERF_REPO) $(VSPERF_CHANGE); \
git checkout FETCH_HEAD; \
fi
+ cd vswitchperf; \
INCLUDE_DEPENDENCIES=true fpb --debug --build fuel-plugin-vsperf/
- @mv fuel-plugin-vsperf/fuel-plugin-vsperf*.rpm .
+ @mv vswitchperf/fuel-plugin-vsperf/fuel-plugin-vsperf*.rpm .
$(REPOINFO) -r . > gitinfo_vsperf-plugin.txt
@rm -rf fuel-plugin-vsperf
@touch .vsperfbuild