summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_odlpluginbuild/Makefile
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-06-06 09:52:09 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-06 09:52:10 +0000
commitc4afb1da513ef3230432fff400ea231660b230c9 (patch)
tree42b339bac50d2f139127d8a30cf00eeb39c0ab8e /build/f_isoroot/f_odlpluginbuild/Makefile
parent6c498c04a9843bcc99dc94650e5d0b31490dfa1b (diff)
parentb16f559a30ce28a6b528e4eab734cb5ea0ef23fc (diff)
Merge "Build odl plugin for mitaka"
Diffstat (limited to 'build/f_isoroot/f_odlpluginbuild/Makefile')
-rw-r--r--build/f_isoroot/f_odlpluginbuild/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile
index 9cb8fef69..efea0f521 100644
--- a/build/f_isoroot/f_odlpluginbuild/Makefile
+++ b/build/f_isoroot/f_odlpluginbuild/Makefile
@@ -29,7 +29,14 @@ release:.odlbuild
rm -rf fuel-plugin-opendaylight
sudo apt-get -y install build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
sudo gem install fpm
- sudo pip install fuel-plugin-builder
+ #Temporary fpb needs to be build from sources
+ git clone -b $(FPB_BRANCH) $(FPB_REPO)
+ cd fuel-plugins; \
+ if [ -n $(FPB_CHANGE) ]; then \
+ git checkout $(FPB_CHANGE); \
+ python setup.py sdist; \
+ sudo pip install ./dist/fuel-plugin-builder-*.tar.gz; \
+ fi
git clone -b $(ODL_BRANCH) $(ODL_REPO)
cd fuel-plugin-opendaylight; \
if [ -n $(ODL_CHANGE) ]; then \