Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv4802/F-16
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Fix nvidia post installation
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/F-16/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- xorg-x11-drv-nvidia.spec 3 May 2012 17:02:17 -0000 1.75
+++ xorg-x11-drv-nvidia.spec 20 May 2012 10:00:49 -0000 1.76
@@ -7,7 +7,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 1
Version: 295.49
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Group: User Interface/X Hardware Support
@@ -260,11 +260,14 @@
ISGRUB1="--grub"
fi
if [ -x /sbin/grubby ] ; then
- GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel`
- /sbin/grubby $ISGRUB1 \
- --update-kernel=${GRUBBYLASTKERNEL} \
- --args='nouveau.modeset=0 rd.driver.blacklist=nouveau' \
- &>/dev/null
+ KERNELS=`/sbin/grubby --default-kernel`
+ [ -z $KERNELS ] && KERNELS=`ls /boot/vmlinuz-*%{?dist}.$(uname -m)*`
+ for kernel in ${KERNELS} ; do
+ /sbin/grubby $ISGRUB1 \
+ --update-kernel=${kernel} \
+ --args='nouveau.modeset=0 rd.driver.blacklist=nouveau' \
+ &>/dev/null
+ done
fi
fi || :
@@ -349,13 +352,16 @@
%changelog
+* Sun May 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:295.49-2
+- Fix %%post when grubby --default-kernel is broken
+
* Thu May 03 2012 leigh scott <leigh123linux(a)googlemail.com> - 1:295.49-1
- Update to 295.49
* Wed Apr 11 2012 leigh scott <leigh123linux(a)googlemail.com> - 1:295.40-1
- Update to 295.40
-* Thu Mar 22 2012 leigh scott <leigh123linux(a)googlemail.com> - 1:295.33-3
+* Thu Mar 22 2012 leigh scott <leigh123linux(a)googlemail.com> - 1:295.33-1
- Update to 295.33
* Tue Feb 14 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:295.20-1
Show replies by date