summaryrefslogtreecommitdiffstats
path: root/bash/tools/creating_data/download-pkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bash/tools/creating_data/download-pkg.sh')
-rw-r--r--bash/tools/creating_data/download-pkg.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash/tools/creating_data/download-pkg.sh b/bash/tools/creating_data/download-pkg.sh
index 2a5290ca..03bfe07f 100644
--- a/bash/tools/creating_data/download-pkg.sh
+++ b/bash/tools/creating_data/download-pkg.sh
@@ -15,11 +15,13 @@
# limitations under the License.
#
# COPYRIGHT NOTICE ENDS HERE
+
outdir="$1"
if [[ -z "$outdir" ]]; then
echo "Missing output dir"
exit 1
fi
+
# if onap.repo does not exists create it
mkdir -p $outdir
if [ ! -f "$outdir/onap.repo" ]; then
@@ -31,8 +33,10 @@ enabled=1
gpgcheck=0
EOF
fi
+
# this exact docker version is required by ONAP/beijing
# it should be available in centos docker repo
yumdownloader --resolve --destdir="$outdir" docker-ce-17.03.2.ce libtool-ltdl docker-ce-selinux
+
yumdownloader --resolve --destdir="$outdir" dnsmasq icewm firefox tigervnc-server perl*
createrepo "$outdir"