rhel_epel_fix: Fix installation of spel for sshpass 77/54477/1
authorChristian Trautman <ctrautma@redhat.com>
Mon, 26 Mar 2018 12:41:54 +0000 (08:41 -0400)
committerChristian Trautman <ctrautma@redhat.com>
Mon, 26 Mar 2018 12:41:54 +0000 (08:41 -0400)
RHEL does not have an epel-release package available from default repos.
Removes this install to use fedora epel release to allow sshpass to install
correctly.

Change-Id: Ie313857420cb4eb2342128b5d11e769670ae70a0
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
systems/rhel/7.2/build_base_machine.sh
systems/rhel/7.3/build_base_machine.sh

index d3f7472..198f39d 100755 (executable)
@@ -53,7 +53,6 @@ pkglist=(
  numactl\
  numactl-devel\
  libpng-devel\
- epel-release\
  sshpass\
 )
 
@@ -63,6 +62,9 @@ pkglist=(
  python-six\
 )
 
+# install RHEL compatible epel for sshpass
+yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+
 # Iterate installing each package. If packages fail to install, record those
 # packages and exit with an error message on completion. Customer may need to
 # add repo locations and subscription levels.
index dfa738d..ae52721 100755 (executable)
@@ -53,7 +53,6 @@ pkglist=(
  numactl\
  numactl-devel\
  libpng-devel\
- epel-release\
  sshpass\
 )
 
@@ -63,6 +62,9 @@ pkglist=(
  python-six\
 )
 
+# install RHEL compatible epel for sshpass
+yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+
 # Iterate installing each package. If packages fail to install, record those
 # packages and exit with an error message on completion. Customer may need to
 # add repo locations and subscription levels.