From 64bdd24e4e64b07f69690cb215b5f6759a79bacb Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 7 Apr 2022 09:00:44 +0200 Subject: [PATCH] CentOS Stream 9 has EPEL now Change-Id: I13131f8f4b668d01661a57d918da1bfdb69a0584 --- .../elements/epel/pre-install.d/05-rpm-epel-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskimage_builder/elements/epel/pre-install.d/05-rpm-epel-release b/diskimage_builder/elements/epel/pre-install.d/05-rpm-epel-release index 3a5c6546..5a8cf9ea 100755 --- a/diskimage_builder/elements/epel/pre-install.d/05-rpm-epel-release +++ b/diskimage_builder/elements/epel/pre-install.d/05-rpm-epel-release @@ -6,7 +6,7 @@ fi set -eu set -o pipefail -if [[ (${DISTRO_NAME} =~ "centos" || ${DISTRO_NAME} =~ "rocky") && "${DIB_RELEASE%-stream}" -lt '9' ]]; then +if [[ (${DISTRO_NAME} =~ "centos" || ${DISTRO_NAME} =~ "rocky") ]]; then # Centos has "epel-release" in extras, which is default enabled. ${YUM} install -y epel-release else