mirror of
https://github.com/containers/skopeo.git
synced 2025-05-31 10:45:21 +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:
parent
5e0eeadd93
commit
8d3fb4b390
@ -67,7 +67,7 @@ doccheck_task:
|
|||||||
# TODO: Can't use 'runner.sh setup' inside container. However,
|
# TODO: Can't use 'runner.sh setup' inside container. However,
|
||||||
# removing the pre-installed package is the only necessary step
|
# removing the pre-installed package is the only necessary step
|
||||||
# at the time of this comment.
|
# 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" build
|
||||||
"${SKOPEO_PATH}/${SCRIPT_BASE}/runner.sh" doccheck
|
"${SKOPEO_PATH}/${SCRIPT_BASE}/runner.sh" doccheck
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ _run_setup() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# VM's come with the distro. skopeo package pre-installed
|
# 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"
|
msg "Removing systemd-resolved from nsswitch.conf"
|
||||||
# /etc/resolv.conf is already set to bypass systemd-resolvd
|
# /etc/resolv.conf is already set to bypass systemd-resolvd
|
||||||
|
Loading…
Reference in New Issue
Block a user