rpms/xorg-x11-drv-nvidia-173xx/F-17 xorg-x11-drv-nvidia-173xx.spec, 1.22, 1.23

Nicolas Chauvet kwizart at rpmfusion.org
Sun May 20 12:05:47 CEST 2012


Author: kwizart

Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia-173xx/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv5447/F-17

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-17/xorg-x11-drv-nvidia-173xx.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- xorg-x11-drv-nvidia-173xx.spec	19 May 2012 20:38:29 -0000	1.22
+++ xorg-x11-drv-nvidia-173xx.spec	20 May 2012 10:05:47 -0000	1.23
@@ -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 at gmail.com> - 173.14.34-3
+- Fix %%post when grubby --default-kernel is broken
+
 * Sat May 19 2012 leigh scott <leigh123linux at googlemail.com> - 173.14.34-2
 - add changes for grub2
 


More information about the rpmfusion-commits mailing list