Don't try to disable modular repositories

They no longer exist, so attempting to disable them results
in an error:

  Error: No matching repo to modify: rawhide-modular,
  updates-modular, updates-testing-modular, fedora-modular.

As a consequence, no repository is disabled, so dnf will not
work out of the box.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Andrea Bolognani 2024-04-03 19:15:21 +02:00
parent 20c827217b
commit 18b4bc146f
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ libtirpc-devel
%post
# Disable default repositories (not riscv64 in upstream)
dnf config-manager --set-disabled rawhide updates updates-testing fedora fedora-modular fedora-cisco-openh264 updates-modular updates-testing-modular rawhide-modular
dnf config-manager --set-disabled rawhide updates updates-testing fedora fedora-cisco-openh264
dnf -y remove dracut-config-generic