Thomas Backlund skrev 19.8.2012 22:37:
Thomas Backlund skrev 19.8.2012 22:26:
Anssi Hannula skrev 19.8.2012 22:07:
19.08.2012 21:58, tmb kirjoitti:
Name : nvidia-current Relocations: (not
relocatable)
Version : 304.37 Vendor: Mageia.Org
Release : 2.mga3.nonfree Build Date: Sun Aug 19
tmb <tmb> 304.37-2.mga3:
+ Revision: 282319
- add provides kmod(nvidia-current) as upstream now has provides
kmod(nvidis) (mga #7113)
What?
/usr/lib/rpm/mageia/kmod.prov should extract this from DEST_MODULE_NAME
in dkms.conf.
Thats just it:
--- dkms.conf.295 2012-07-27 02:44:55.000000000 +0300
+++ dkms.conf.304 2012-08-19 03:32:59.000000000 +0300
@@ -1,8 +1,7 @@
-PACKAGE_NAME="nvidia-current"
-PACKAGE_VERSION="295.59-2.mga3.nonfree"
-BUILT_MODULE_NAME[0]="nvidia"
-DEST_MODULE_LOCATION[0]="/kernel/drivers/char/drm"
-DEST_MODULE_NAME[0]="nvidia-current"
-MAKE[0]="make SYSSRC=${kernel_source_dir} module"
-CLEAN="make -f Makefile.kbuild clean"
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="304.37"
+BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+MAKE[0]="make module SYSSRC=${kernel_source_dir}"
+CLEAN="make clean"
AUTOINSTALL="yes"
Ah,
I see nvidia is now providing their own kernel/dkms.conf in tarballs
wich gets used ...
I guess we need to remove that one / install our own...
And NVIDIA changelog :
2012-07-13 version 304.22
* Added support for DKMS in nvidia-installer. Installing the kernel
module through DKMS allows the module to be rebuilt automatically
when changing to a different Linux kernel. See the README and the
nvidia-installer help text for the "--dkms" option.
--
Thomas