From 1e8b3ea876e1df1f560570f4f33f13d90ec70e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 30 Sep 2014 23:51:10 +0200 Subject: [PATCH] rpm: do not save removed udev script As Qubes dom0 is standalone system, not an addon to Fedora (for some time...), we do not longer need to save such scripts to handle package remove. --- rpm_spec/core-dom0-linux.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rpm_spec/core-dom0-linux.spec b/rpm_spec/core-dom0-linux.spec index 270761b..7669ed8 100644 --- a/rpm_spec/core-dom0-linux.spec +++ b/rpm_spec/core-dom0-linux.spec @@ -171,10 +171,6 @@ echo 'installonlypkgs = kernel, kernel-qubes-vm' >> /etc/yum.conf sed '/^distroverpkg\s*=/d' -i /etc/yum.conf echo 'distroverpkg = qubes-release' >> /etc/yum.conf -# Remove unnecessary udev rules that causes problems in dom0 (#605) -mkdir -p /var/lib/qubes/removed-udev-scripts -mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ 2> /dev/null || : - systemctl enable qubes-suspend.service >/dev/null 2>&1 %preun @@ -195,7 +191,8 @@ fi sed -i 's/^UseNetworkHeuristic=.*/UseNetworkHeuristic=false/' /etc/PackageKit/PackageKit.conf %triggerin -- xorg-x11-drv-vmmouse -mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ 2> /dev/null || : +# Remove unnecessary udev rules that causes problems in dom0 (#605) +rm -f /lib/udev/rules.d/69-xorg-vmmouse.rules %triggerin -- grub2-tools chmod -x /etc/grub.d/10_linux