Skip to content

Commit

Permalink
fmf: Avoid dnf --noautoremove
Browse files Browse the repository at this point in the history
This option got dropped in dnf 5, and thus this started to fail on
Rawhide.

See https://bugzilla.redhat.com/show_bug.cgi?id=2216622
  • Loading branch information
martinpitt committed Jun 22, 2023
1 parent d7f9545 commit 7f56a19
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/browser/browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ fi
# HACK: setroubleshoot-server crashes/times out randomly (breaking TestServices),
# and is hard to disable as it does not use systemd
if rpm -q setroubleshoot-server; then
dnf remove -y --noautoremove setroubleshoot-server
# HACK: we want this: dnf remove -y --noautoremove setroubleshoot-server
# but dnf5 broke it: https://bugzilla.redhat.com/show_bug.cgi?id=2216622
rpm -e --verbose cockpit-selinux || true
rpm -e --verbose setroubleshoot-plugins || true
rpm -e --verbose setroubleshoot-server
fi

if grep -q 'ID=.*fedora' /etc/os-release && [ "$PLAN" = "basic" ]; then
Expand Down

0 comments on commit 7f56a19

Please sign in to comment.