From 4444771a3edea55dd486592b867aa87873f87653 Mon Sep 17 00:00:00 2001 From: Scott Poore Date: Fri, 6 Aug 2021 09:17:50 -0500 Subject: [PATCH] Tests: Force epel8 to install chromium Currently epel repo configs are using releasever which is set to 9. This is causing dnf failures looking for a repo which doesn't exist. We need to force releasever to 8 in order to install chromium needed for the gating tests. Resolves: rhbz#1984553 --- tests/browser.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/browser.sh b/tests/browser.sh index 478b959..8dbce39 100644 --- a/tests/browser.sh +++ b/tests/browser.sh @@ -20,8 +20,11 @@ if ! rpm -q chromium; then if grep -q 'ID=.*rhel' /etc/os-release; then dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf config-manager --enable epel + # Force epel to 8 since epel 9 does not exist yet + sed -i 's/$releasever/8/g' /etc/yum.repos.d/epel* fi dnf install -y chromium + dnf remove epel-release fi # install cockpit-packagekit for testAppMenu