commit b36f031f0f93087686fd05220b4092a18bb7d844
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Apr 26 17:41:41 2017 +0200
Add triggerin to update to the new cmdline with grubby
xorg-x11-drv-nvidia.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index f4375bc..934e51b 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -391,6 +391,10 @@ if [ "$1" -eq "1" ]; then
%endif
fi || :
+%if 0%{?fedora} || 0%{?rhel} >= 7
+%triggerin -- xorg-x11-drv-nvidia < 381.09-5
+%{_grubby} --args='%{_dracutopts}' &>/dev/null || :
+%endif
%post libs -p /sbin/ldconfig
Show replies by date