mirror of
https://github.com/opencontainers/runc.git
synced 2025-12-24 11:50:58 +08:00
.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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user