@mkdir -p ../release/bgpvpn
@cp bgpvpn*.rpm ../release/opnfv/
cp gitinfo_bgpvpnplugin.txt $(BUILD_BASE)
- cd $(BUILD_BASE) && mkdir -p ../deploy/templates/plugins && cp -rf $(TOP)/config/* ../deploy/templates/plugins
.bgpvpnbuild:
+ # The python packages build into deb by this plugin require a newer
+ # setuptools install a newer setuptools version until the container
+ # where this is run is bumped to ubuntu 16.04.
+ # --user is used because there is already a setuptools installation
+ # managed by apt.
+ pip install setuptools --upgrade --user
rm -rf fuel-plugin-bgpvpn
- 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
git clone $(BGPVPN_REPO)
cd fuel-plugin-bgpvpn; \
git checkout $(BGPVPN_BRANCH); \
fi
sha1sum Makefile >> .cachedata
sha1sum config.mk >> .cachedata
+ echo -n $(UBUNTU_ARCH) | sha1sum | awk {'print $$1'} >> .cachedata
cat .cachedata | $(CACHETOOL) getid > .cacheid
# Clean local data related to caching - called prior to ordinary build