Skip to content

Commit

Permalink
Avoid using 'file' module in update.qubes-vm
Browse files Browse the repository at this point in the history
The 'file' salt module is broken in Fedora 37. Until fix is packaged in
Fedora package, avoid using the module.

Fixes QubesOS/qubes-issues#7891
  • Loading branch information
marmarek committed Nov 19, 2022
1 parent 3a3cb96 commit 2059020
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions update/qubes-vm.sls
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ dnf-makecache:
- stateful: True

Disable deltarpm:
file.append:
- name: /etc/dnf/dnf.conf
- text: deltarpm=False
cmd.run:
- name: echo deltarpm=False >> /etc/dnf/dnf.conf
- unless: grep -q deltarpm=False /etc/dnf/dnf.conf
{% endif %}

{% if grains['oscodename'] == 'buster' %}
Expand All @@ -49,7 +49,7 @@ update:
- require:
- cmd: dnf-makecache
- file: /usr/lib/rpm/macros.d/macros.qubes
- file: 'Disable deltarpm'
- cmd: 'Disable deltarpm'
{% endif %}

notify-updates:
Expand Down

0 comments on commit 2059020

Please sign in to comment.