[ATrpms-users] kernel modules for 2.6.22.14-72.fc6

Axel Thimm Axel.Thimm at ATrpms.net
Thu Dec 13 20:02:51 CET 2007


On Thu, Dec 13, 2007 at 12:19:25PM -0500, Kevin J. Cummings wrote:
> Axel Thimm wrote:
> > Paulo did a lot of work here:
> > 
> > http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html
> 
> Thanks I'll check it out!
> 
> >>> You need to have atrpms-rpm-config and the matching kernel-header
> >>> installed (sometimes the whole kernel source, but try with
> >>> kernel-header first).
> >> (hmm, I don't seem to have atrpms-rpm-config installed....)
> >> I'll give it a try tomorrow and report back.
> > 
> > Well, you need at the very least atrpms-rpm-config and
> > kernel-header. For some kmdls you need a full kernel source tree which
> > is outlined in Paulo's docs. But try first with kernel-headers.
> 
> Already done by now.  I just gotta figure out how to build the modules
> for a kernel that's installed but not yet running.  I'll RTFM and give
> it a try.

Read /etc/rpm/macros.kmdl, you need to use

--define '_kernel 2.6.foo-bar'

and *maybe* also

--define 'kmdl_kernelsrcdir /where/I/put/my/sources'

(you don't need it if /lib/modules/_kernel/build already points to the
right place.)
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20071213/b467ca02/attachment.bin 


More information about the atrpms-users mailing list