dkms action mkrpm
Charles_Rose at Dell.com
Charles_Rose at Dell.com
Fri Mar 14 05:51:12 CDT 2008
Can you send the output of this? It would give us a better idea of what is going on.
# dkms status
# dkms mkrpm –verbose -m cifs -v 2.00
-Charles Rose
From: dkms-devel-bounces at dell.com [mailto:dkms-devel-bounces at dell.com] On Behalf Of Alan Bartlett
Sent: Friday, March 14, 2008 3:29 PM
To: dkms-devel-Lists
Subject: dkms action mkrpm
(This message has been resent as it appears to have not been posted to the list.)
If I have posted this to the wrong list, then my apologies. I am not aware of a dkms users' mailing list.
I had read both the white paper http://linux.dell.com/dkms/dkms-ols2004.pdf & the man page http://linux.dell.com/dkms/manpage.html and decided to experiment with dkms.
After installing the relevant rpm package (version 2.0.17.6-1.el5.rf) for my OS (CentOS 5) from the RPMForge repository (http://dag.wieers.com/rpm/) I found that it did everything as documented.
I am, however, having a problem with the mkrpm action and hope that someone can either assist or advise me with this issue. From the man page I see that "It uses a template .spec file found in /etc/dkms/template-dkms-mkrpm.spec as the basis for the RPM. Alternatively, if DKMS finds a file called /usr/src/<module>-<module-version>/<modules>-dkms-mkrpm.spec it will use that .spec file instead." (For all my testing, I copied the source of a small unused kernel module to the /usr/src/ directory structure, incremented the version number (in its header file) and touched all *.c & *.h files.) On attempting the mkrpm action, both with just the template .spec file and, alternatively, with a correctly named version in the /usr/src/<module>-<moulde-version>/ directory, the action failed with an error message.
(For this example I have used the cifs module.)
# dkms mkrpm -m cifs -v 2.00
Using /etc/dkms/template-dkms-mkrpm.spec
Marking 2.6.18-53.1.14.el5 (i686) for RPM...
Error! There was a problem creating your rpm.
On inspection of the file system, I saw that only the file /usr/src/redhat/SOURCES/cifs-2.00-mktarball.dkms.tgz had been created.
Any advice or guidance would be appreciated.
Thanks.
Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/dkms-devel/attachments/20080314/97f41691/attachment.htm
More information about the DKMS-devel
mailing list