2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

Merge pull request #7044 from gurevichmark/builder_fedora2

Remove epel-release from list of required RPMs
This commit is contained in:
besawn
2021-10-08 12:01:55 -04:00
committed by GitHub

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