aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_odlpluginbuild/Makefile
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-05-19 16:52:18 +0200
committerMichal Skalski <mskalski@mirantis.com>2016-06-02 15:37:16 +0200
commitb16f559a30ce28a6b528e4eab734cb5ea0ef23fc (patch)
treeaa1888e1a8c0734522adc5857405917229be1b7b /build/f_isoroot/f_odlpluginbuild/Makefile
parent2498bbb0354fd7abbbb408810f419c2999c23a31 (diff)
Build odl plugin for mitaka
Change-Id: I59b96a424a753f880b4ac16abd806851ad3f9533 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
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 \