On Fri, Nov 28, 2008 at 12:03:05PM +0100, Ron Arts wrote:
> Axel Thimm schreef:
> > On Thu, Nov 27, 2008 at 01:29:52PM +0100, Ron Arts wrote:
> >> I'd like to build my own kernel module rpms. This topic has come up on
> >> this list before a couple of years ago, and I'd like to know if that info
> >> is still current.
> >>
> >> I've found a wiki page on how to do it, but that one seems to be quite old,
> >> there is mention of a yum-plugin-kmdl on the fedora community portal.
> >>
> >> What is currently the best way to do it?
> > 
> > yum install atrpms-rpm-config
> > rpmbuild --rebuild foodriver-1.2.3-4.src.rpm
> > 
> > You only need yum-plugin-kmdl to use them later on, not to build them.
> 
> Axel,
> 
> this sounded too good to be true, and sure enough, no kmdl rpm was generated.
> I must be forgetting something. The rpmbuild finished very fast, and no
> kmdl rpm was generated. (See output below). BTW I am running on CentOS5.2.

there are two modes of operation, the one that generates kmdls and the
one that generates all the rest. It should had defaulted to the first
on, but it seems it didn't, so you got all but the kmdls.

Just add --define kmdl_userland\ 0 to the rpmbuild line to force the
kmdl mode.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpy193U9XFwy.pgp
Description: PGP signature

_______________________________________________
atrpms-devel mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-devel

Reply via email to