Skip to content

Commit 94167da

Browse files
committed
.cirrus.yml: use dnf not yum
Since we dropped EL7, we can use dnf everywhere. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
1 parent 14cc644 commit 94167da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ task:
4646
# Work around dnf mirror failures by retrying a few times.
4747
for i in $(seq 0 2); do
4848
sleep $i
49-
yum install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
49+
dnf install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
5050
done
51-
[ $? -eq 0 ] # fail if yum failed
51+
[ $? -eq 0 ] # fail if dnf failed
5252
5353
case $DISTRO in
5454
*-8)

0 commit comments

Comments
 (0)