Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia-173xx/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv5447/F-16
Modified Files:
xorg-x11-drv-nvidia-173xx.spec
Log Message:
Fix broken post install script
Index: xorg-x11-drv-nvidia-173xx.spec
===================================================================
RCS file:
/cvs/nonfree/rpms/xorg-x11-drv-nvidia-173xx/F-16/xorg-x11-drv-nvidia-173xx.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- xorg-x11-drv-nvidia-173xx.spec 19 May 2012 18:12:04 -0000 1.23
+++ xorg-x11-drv-nvidia-173xx.spec 20 May 2012 10:05:46 -0000 1.24
@@ -5,7 +5,7 @@
Name: xorg-x11-drv-nvidia-173xx
Version: 173.14.34
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: NVIDIA's 173xx serie proprietary display driver for NVIDIA graphic
cards
Group: User Interface/X Hardware Support
@@ -248,11 +248,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 || :
@@ -324,6 +327,9 @@
%changelog
+* Sun May 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 173.14.34-3
+- Fix %%post when grubby --default-kernel is broken
+
* Sat May 19 2012 leigh scott <leigh123linux(a)googlemail.com> - 173.14.34-2
- add changes for grub2
Show replies by date