.cirrus.yml: use dnf not yum

Since we dropped EL7, we can use dnf everywhere.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2025-12-02 17:41:59 -08:00
parent 14cc644c33
commit 94167dae29

View File

@@ -46,9 +46,9 @@ task:
# Work around dnf mirror failures by retrying a few times.
for i in $(seq 0 2); do
sleep $i
yum install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
dnf install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
done
[ $? -eq 0 ] # fail if yum failed
[ $? -eq 0 ] # fail if dnf failed
case $DISTRO in
*-8)