2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Remove epel-release from list of required RPMs

This commit is contained in:
Mark Gurevich 2021-10-07 15:59:11 -04:00
parent e3394fce52
commit 83ee3d04a4

View File

@ -5,20 +5,20 @@
# this whole dir into it somewhere (like /tmp).
# Then run this script. The optional 1st arg should be mcp if you are building against mcp.
# Currently, *Fedora 26* is the only OS supported to build genesis-base for ppc64, and Centos 6.5 for x86_64
# Currently, *Fedora 34* and *RedHat 8* are the only OSes supported to build genesis-base for ppc64, and Centos 6.5 for x86_64
HOSTOS="$1"
DIR=`dirname $0`
#DIR=`realpath $DIR`
DIR=`readlink -f $DIR`
BUILDARCH=`uname -m`
REQUIRED_PACKAGES="rpmdevtools rpm-build screen lldpad mstflint epel-release ipmitool pciutils mdadm dosfstools usbutils bind-utils psmisc nmap-ncat ethtool kexec-tools"
REQUIRED_PACKAGES="rpmdevtools rpm-build screen lldpad mstflint ipmitool pciutils mdadm dosfstools usbutils bind-utils psmisc nmap-ncat ethtool kexec-tools"
# Install required packages
for required_package in $REQUIRED_PACKAGES; do
yum -y install $required_package
if [ $? -ne 0 ]; then
echo "ERROR: Can not install required packages $required_package, make sure EPEL repository is configured"
echo "ERROR: Can not install required package $required_package, make sure EPEL repository is configured"
exit 1
fi
done