From cb349a5c0bd120e1e34e29b42d27504b3bc6acf7 Mon Sep 17 00:00:00 2001 From: Tomáš Levora Date: Thu, 14 Feb 2019 11:04:53 +0100 Subject: Add download of missing dependency python-docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixing a bug with missing python-docker package in local RHEL repository for offline-installer Issue-ID: OOM-1657 Change-Id: I42152f8acf81afcd825bd79378c5a8a8a803d047 Signed-off-by: Tomáš Levora --- build/creating_data/create-rhel-repo.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/creating_data/create-rhel-repo.sh b/build/creating_data/create-rhel-repo.sh index 9859dc93..0a2a897e 100755 --- a/build/creating_data/create-rhel-repo.sh +++ b/build/creating_data/create-rhel-repo.sh @@ -38,6 +38,10 @@ fi # it should be available in centos docker repo yumdownloader --resolve --destdir="${OUTDIR}" docker-ce-17.03.2.ce libtool-ltdl docker-ce-selinux nfs-utils +wget https://cbs.centos.org/kojifiles/packages/python-docker/2.5.1/2.el7/noarch/python2-docker-2.5.1-2.el7.noarch.rpm -P "${OUTDIR}" + +yum install --downloadonly --downloaddir="${OUTDIR}" "${OUTDIR}/python2-docker-2.5.1-2.el7.noarch.rpm" + createrepo "${OUTDIR}" exit 0 -- cgit 1.2.3-korg