From a2454bd4cf0c63ea2e4cd91abbb8626dc9363a58 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Thu, 8 Jul 2010 18:54:53 +0000 Subject: [PATCH] Fix for 1262 --- xorg-x11-drv-nvidia.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index 76481f4..37b7937 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -9,7 +9,7 @@ Name: xorg-x11-drv-nvidia Epoch: 1 Version: 195.36.31 -Release: 1%{?dist} +Release: 2%{?dist} Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards Group: User Interface/X Hardware Support @@ -281,11 +281,11 @@ if [ "$1" -eq "1" ]; then fi if [ -x /sbin/grubby ] ; then GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel` - /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='nomodeset rdblacklist=nouveau' &>/dev/null + /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='nouveau.modeset=0 rdblacklist=nouveau' &>/dev/null fi if [ -x /usr/sbin/setsebool ] ; then - SELINUXEXECSTACK=`grep 0 /selinux/booleans/allow_execstack | wc -l` - if [ ${SELINUXEXECSTACK} -eq "1" ] ; then + SELINUXEXECSTACK=`cat /selinux/booleans/allow_execstack 2>/dev/null` + if [ "${SELINUXEXECSTACK}" == "0 0" ] ; then /usr/sbin/setsebool -P allow_execstack on &>/dev/null fi fi ||: @@ -359,6 +359,9 @@ fi ||: %changelog +* Thu Jul 08 2010 Nicolas Chauvet - 1:195.36.31-2 +- Improve post script as reported in rfbz#1262 + * Wed Jun 16 2010 Nicolas Chauvet - 1:195.36.31-1 - Update to 195.36.31 - Add post section to change boot option with grubby