Skip to content

Commit

Permalink
Don't force specific dnf/rpm version on Fedora >= 41
Browse files Browse the repository at this point in the history
It's not relevant anymore, and also Fedora 41 has DNF5 now.

QubesOS/qubes-issues#9244
  • Loading branch information
marmarek committed Oct 2, 2024
1 parent 59e1c6e commit 2053e75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions update/qubes-vm.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# CVE-2021-20271 mitigation
%_pkgverify_level all
{% else %}
{% if grains['os'] == 'Fedora' and grains['osmajorrelease'] < 41 %}
dnf-and-rpm:
pkg.installed:
- pkgs:
Expand All @@ -16,6 +17,10 @@ dnf-and-rpm:
file.absent:
- require:
- pkg: dnf-and-rpm
{% else %}
/usr/lib/rpm/macros.d/macros.qubes:
file.absent: []
{% endif %}
{% endif %}
{% endif %}

Expand Down

0 comments on commit 2053e75

Please sign in to comment.