From 5013a8b6dc96335b7e2e3ae10cd2055fdb8c30dc Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Thu, 8 Jul 2010 19:01:04 +0000 Subject: [PATCH] - Only blacklist nouveau with grubby on install. --- xorg-x11-drv-nvidia.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index 37b7937..5c7f721 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -278,10 +278,10 @@ if [ "$1" -eq "1" ]; then # Add init script and start it /sbin/chkconfig --add nvidia ||: /etc/init.d/nvidia start &>/dev/null ||: -fi -if [ -x /sbin/grubby ] ; then - GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel` - /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='nouveau.modeset=0 rdblacklist=nouveau' &>/dev/null + if [ -x /sbin/grubby ] ; then + GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel` + /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='nouveau.modeset=0 rdblacklist=nouveau' &>/dev/null + fi fi if [ -x /usr/sbin/setsebool ] ; then SELINUXEXECSTACK=`cat /selinux/booleans/allow_execstack 2>/dev/null` @@ -361,6 +361,7 @@ fi ||: %changelog * Thu Jul 08 2010 Nicolas Chauvet - 1:195.36.31-2 - Improve post script as reported in rfbz#1262 +- Only blacklist nouveau with grubby on install. * Wed Jun 16 2010 Nicolas Chauvet - 1:195.36.31-1 - Update to 195.36.31