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
This commit is contained in:
parent
b75ce96ca2
commit
4444771a3e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user