1
0
mirror of https://github.com/containers/skopeo.git synced 2025-05-09 16:36:29 +00:00

cirrus: use dnf remove over erase

dnf erase was removed from dnf5 in f41, AFAIK remove does the same thing
and erase was just a removed alias.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2024-11-12 18:21:37 +01:00
parent 5e0eeadd93
commit 8d3fb4b390
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2
2 changed files with 2 additions and 2 deletions
.cirrus.yml
contrib/cirrus

View File

@ -67,7 +67,7 @@ doccheck_task:
# TODO: Can't use 'runner.sh setup' inside container. However,
# removing the pre-installed package is the only necessary step
# at the time of this comment.
dnf erase -y skopeo # Guarantee non-interference
dnf remove -y skopeo # Guarantee non-interference
"${SKOPEO_PATH}/${SCRIPT_BASE}/runner.sh" build
"${SKOPEO_PATH}/${SCRIPT_BASE}/runner.sh" doccheck

View File

@ -53,7 +53,7 @@ _run_setup() {
fi
# VM's come with the distro. skopeo package pre-installed
dnf erase -y skopeo
dnf remove -y skopeo
msg "Removing systemd-resolved from nsswitch.conf"
# /etc/resolv.conf is already set to bypass systemd-resolvd