summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_odlpluginbuild
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2015-11-27 02:14:48 +0100
committerMichal Skalski <mskalski@mirantis.com>2015-11-27 11:36:22 +0100
commit21c25e1b67540202bccaddefcbd1453b25885ad6 (patch)
tree345b53948ad09df2c04c1c83b8f6467058ba5fe8 /build/f_isoroot/f_odlpluginbuild
parent24a95306d2564b272b5320e9149d9aea70b4061c (diff)
Download plugins dependencies using fuel-createmirror
Including dependencies directly in to plugin binary require maintain list of direct links to specific versions of system packages, which often become out of date. This change propose to create requirements-deb.txt file in plugin build directories which will contain only names of deb packages needed for successful deployments in offline environments. Based on the content of these files the common list of dependencies will be created [1]. Defined system packages together with their dependencies will be downloaded during process of creating partial mirror. [1] https://docs.mirantis.com/openstack/fuel/fuel-7.0/operations.html#troubleshooting-partial-mirror verify: no-cache Change-Id: If40b040fcf062f78af6c453a791b02ebf10e7b85 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Diffstat (limited to 'build/f_isoroot/f_odlpluginbuild')
-rw-r--r--build/f_isoroot/f_odlpluginbuild/Makefile3
-rw-r--r--build/f_isoroot/f_odlpluginbuild/requirements-deb.txt1
2 files changed, 2 insertions, 2 deletions
diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile
index a63cdadf8..4ec7e809b 100644
--- a/build/f_isoroot/f_odlpluginbuild/Makefile
+++ b/build/f_isoroot/f_odlpluginbuild/Makefile
@@ -32,8 +32,7 @@ release:.odlbuild
sudo gem install fpm
sudo pip install fuel-plugin-builder
git clone -b $(ODL_BRANCH) $(ODL_REPO)
- @$(BUILD_BASE)/check_dependencies.sh fuel-plugin-opendaylight/odl_package/ubuntu/dependencies.txt
- INCLUDE_DEPENDENCIES=true fpb --debug --build fuel-plugin-opendaylight/
+ fpb --debug --build fuel-plugin-opendaylight/
mv fuel-plugin-opendaylight/opendaylight*.rpm .
$(REPOINFO) -r . > gitinfo_odlplugin.txt
rm -rf fuel-plugin-opendaylight
diff --git a/build/f_isoroot/f_odlpluginbuild/requirements-deb.txt b/build/f_isoroot/f_odlpluginbuild/requirements-deb.txt
new file mode 100644
index 000000000..f0d06681e
--- /dev/null
+++ b/build/f_isoroot/f_odlpluginbuild/requirements-deb.txt
@@ -0,0 +1 @@
+openjdk-7-jre-headless