rpm: disable non-Xen grub entry on upgrade

This commit is contained in:
Marek Marczykowski-Górecki 2014-04-14 04:14:18 +02:00
parent 167f30d063
commit 6f1ba98230

View File

@ -194,6 +194,9 @@ sed -i 's/^UseNetworkHeuristic=.*/UseNetworkHeuristic=false/' /etc/PackageKit/Pa
%triggerin -- xorg-x11-drv-vmmouse %triggerin -- xorg-x11-drv-vmmouse
mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ 2> /dev/null || : mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ 2> /dev/null || :
%triggerin -- grub2-tools
chmod -x /etc/grub.d/10_linux
%files %files
/etc/qubes-rpc/policy/qubes.SyncAppMenus /etc/qubes-rpc/policy/qubes.SyncAppMenus
/etc/qubes-rpc/qubes.SyncAppMenus /etc/qubes-rpc/qubes.SyncAppMenus