diff options
author | 2015-11-09 11:08:26 +0100 | |
---|---|---|
committer | 2015-11-09 12:22:15 +0100 | |
commit | 2c510f0a0d6b797517b768cf767bc4a2bcfb363f (patch) | |
tree | a669089b204629aa0fd3710135fe75cf1ae52e78 /fuel/build/f_isoroot/f_odlpluginbuild/Makefile | |
parent | 924b3919a23ca754e20c26285fb171d5d7287255 (diff) |
Add dependency checker tool
A simple script, check_dependencies.sh, has been put in the build
root. Given a file as argument, it will attempt to verify that all
URIs within said file are accessible. If not, an error message will be
presented and the script will exit with return code 1.
The script is added to the ODL plugin makefile, and used to verify the
Ubuntu and CentOS dependencies within.
Change-Id: I4bac9eb5e383629794f6f72baa5472f258e35bef
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Diffstat (limited to 'fuel/build/f_isoroot/f_odlpluginbuild/Makefile')
-rw-r--r-- | fuel/build/f_isoroot/f_odlpluginbuild/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fuel/build/f_isoroot/f_odlpluginbuild/Makefile b/fuel/build/f_isoroot/f_odlpluginbuild/Makefile index 9d79d3531..b5f7ea576 100644 --- a/fuel/build/f_isoroot/f_odlpluginbuild/Makefile +++ b/fuel/build/f_isoroot/f_odlpluginbuild/Makefile @@ -32,6 +32,8 @@ 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 + @$(BUILD_BASE)/check_dependencies.sh fuel-plugin-opendaylight/odl_package/centos/dependencies.txt INCLUDE_DEPENDENCIES=true fpb --debug --build fuel-plugin-opendaylight/ mv fuel-plugin-opendaylight/opendaylight*.rpm . $(REPOINFO) -r . > gitinfo_odlplugin.txt |