We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b479add commit bbba25fCopy full SHA for bbba25f
dom0-updates/patch-dnf-yum-config
@@ -70,16 +70,10 @@ EOF
70
71
### helper functions end
72
73
-if [ -e /etc/dnf/dnf.conf ]; then
74
- update_conf /etc/dnf/dnf.conf "
75
-reposdir=/etc/yum.real.repos.d
76
-installonlypkgs = kernel, kernel-qubes-vm"
77
-fi
+# If user deleted dnf.conf, create an empty one. Otherwise next step fails
+[ ! -f /etc/dnf/dnf.conf ]; touch /etc/dnf/dnf.conf
78
79
-if [ -e /etc/yum.conf ]; then
80
- update_conf /etc/yum.conf "
+update_conf /etc/dnf/dnf.conf "
81
reposdir=/etc/yum.real.repos.d
82
-installonlypkgs = kernel, kernel-qubes-vm
83
-distroverpkg = qubes-release"
84
+installonlypkgs = kernel, kernel-qubes-vm"
85
0 commit comments