- Only blacklist nouveau with grubby on install.

el9
Nicolas Chauvet 15 years ago
parent a2454bd4cf
commit 5013a8b6dc

@ -278,10 +278,10 @@ if [ "$1" -eq "1" ]; then
# Add init script and start it # Add init script and start it
/sbin/chkconfig --add nvidia ||: /sbin/chkconfig --add nvidia ||:
/etc/init.d/nvidia start &>/dev/null ||: /etc/init.d/nvidia start &>/dev/null ||:
fi if [ -x /sbin/grubby ] ; then
if [ -x /sbin/grubby ] ; then GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel`
GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel` /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='nouveau.modeset=0 rdblacklist=nouveau' &>/dev/null
/sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='nouveau.modeset=0 rdblacklist=nouveau' &>/dev/null fi
fi fi
if [ -x /usr/sbin/setsebool ] ; then if [ -x /usr/sbin/setsebool ] ; then
SELINUXEXECSTACK=`cat /selinux/booleans/allow_execstack 2>/dev/null` SELINUXEXECSTACK=`cat /selinux/booleans/allow_execstack 2>/dev/null`
@ -361,6 +361,7 @@ fi ||:
%changelog %changelog
* Thu Jul 08 2010 Nicolas Chauvet <kwizart@gmail.com> - 1:195.36.31-2 * Thu Jul 08 2010 Nicolas Chauvet <kwizart@gmail.com> - 1:195.36.31-2
- Improve post script as reported in rfbz#1262 - Improve post script as reported in rfbz#1262
- Only blacklist nouveau with grubby on install.
* Wed Jun 16 2010 Nicolas Chauvet <kwizart@gmail.com> - 1:195.36.31-1 * Wed Jun 16 2010 Nicolas Chauvet <kwizart@gmail.com> - 1:195.36.31-1
- Update to 195.36.31 - Update to 195.36.31

Loading…
Cancel
Save