Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions profiles/fedora/prepare-system
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@ elif [[ "$YUMDNFCMD" == "dnf5" ]]; then
dnf5 -y install dnf5-plugins # config-manager
dnf5 config-manager setopt fedora.enabled=1 updates.enabled=1
dnf5 repo list

# Installing certain libdnf5 plugins (e.g. libdnf5-plugin-local) alters the
# behavior of DNF5 such that subsequent installability tests fail. Here, we
# disable all libdnf5 plugins so that any plugins installed during testing
# remain inactive.
# A better solution might be to only disable plugins which are not installed
# by default in the distribution.
echo 'Disabling libdnf5 plugins'
cat << EOF > /etc/dnf/libdnf5.conf.d/90-disable-libdnf5-plugins.conf
[main]
plugins=0
EOF
else
"$YUMDNFCMD" -y install dnf-plugins-core # config-manager
"$YUMDNFCMD" config-manager --set-enabled fedora updates
Expand Down