On Mon, Jan 10, 2005 at 11:10:50AM +0100, Stefan van der Eijk wrote: > Axel Thimm wrote: > >On Thu, Jan 06, 2005 at 08:53:24PM +0100, Stefan van der Eijk wrote: > >>>Can you change the dkms build to not set KERNELRELEASE? > >>* Kernel makefiles are no longer edited during kernel preparation. > >>Instead KERNELRELEASE=$kernel_version is passed to make commands. > >>>You should only set KDIR. > >>OK. then the KDIR points to the place where the kernel you want to build > >>for is installed? > >Not the kernel, but the kernel sources, yes. > hmmm... I'm throwing the towel into the ring for now. Seems that doing > this would require me to change dkms, and I don't have the knowlegde to > do this. I asked the dkms maintainer, and he suggested to patch the ivtv > Makefile. So that's what I've done.
That's not the proper path, I know KERNELRELEASE is used in miriads of kernel module projects in different contexts, you cannot possibly keep patches to all those projects. Perhaps a misunderstanding? I know that ivtv was one of the early kernel module projects dkms attacked as a proof of concept. I'm copying Gary on this. If this is really a name clash thing, then perhaps all dkms private variables should be renamed to DKMS_something? > I've also patched driver/ivtv-driver.h, since that file has the wrong > version in 0.2.0-rc3d: > > -#define IVTV_DRIVER_VERSION_COMMENT "rc3b" > +#define IVTV_DRIVER_VERSION_COMMENT "rc3d" Thanks! > I've uploaded the packages to Mandrake's cooker/contrib repository. Thanks! What does a Mandrake newbie need to know in order to grab them? Is the contrib directory something he already has urpmi-hold of, or does he have to set it up (a few lines to get Mandrakians quickstarted are very appreciated!)? -- Axel.Thimm at ATrpms.net
pgpwcZgWTtGlQ.pgp
Description: PGP signature
