Problem using mkrpm

Matt Domsch Matt_Domsch at dell.com
Fri Apr 27 16:46:53 CDT 2007


On Thu, Apr 26, 2007 at 09:01:58PM +0200, ArcosCom Linux User wrote:
> Hi all, I'm new to this list and think this is a very interesting project.
> I'm trying to package (in rpm form) an orinoco driver for CentOS 5.

great!  Welcome.

> DEST_MODULE_LOCATION[0]=/kernel/drivers/net/wireless
> DEST_MODULE_LOCATION[1]=/kernel/drivers/net/wireless
> DEST_MODULE_LOCATION[2]=/kernel/drivers/net/wireless
> DEST_MODULE_LOCATION[3]=/kernel/drivers/net/wireless
> DEST_MODULE_LOCATION[4]=/kernel/drivers/net/wireless
> DEST_MODULE_LOCATION[5]=/kernel/drivers/net/wireless

For CentOS5 and RHEL5, you don't really need the above lines, it
overrides it into /extra anyhow.  But it's ok to leave them.


> =====STEP=====
> [root at sdg01 src]# dkms mkrpm -m orinoco -v 0.13_dragorn
> 
> Using /etc/dkms/template-dkms-mkrpm.spec
> 
> Marking 2.6.18-8.1.1.2.el5_ArcosCom (i686) for RPM...
> 
> Error! There was a problem creating your rpm.
> [root at sdg01 src]#
> =====END=====
> 
> Anyone know what am I doing wrong?
> How can I continue the process to make the rpm?

You need to generate a spec file, based on the template, for your own
driver.  /usr/src/<module>-<version>/<module>-dkms-mkrpm.spec should
be based on the template, but fill in the holes.  See it's using the
default /etc/dkms/template-dkms-mkrpm.spec instead of your own
modified copy thereof.

Also, running dkms with the --verbose option should tell you more.

Thanks,
Matt


-- 
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com



More information about the DKMS-devel mailing list