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
committerStefan Berg <sfb@consultron.com>2016-01-29 14:40:18 +0100
commiteab4156c29823880c19844fef53d394ce82eb433 (patch)
tree03b5233db95fc97d91dc4c9987f474e671b57613 /build/f_isoroot/f_vsperfpluginbuild/Makefile
parent612a4345ed5593f264bd075ea533b11e889819b3 (diff)
fuel-plugin-vsperf: Change repo for vswitchperf plugin
Change-Id: I694039c2762f17dfa4fdb642ad34e31aa7e2362a Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> (cherry picked from commit a5748ad1e936461a5cb592e354e7b1c771c924f0)
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