From 7bc225fc5666bd1a821d1a7dcd4e94dcd6f91f28 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 26 Apr 2017 17:41:41 +0200 Subject: [PATCH] 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