[CentOS] Trying to find all the kernel modules needed for my machine using shell script

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Jul 13 15:01:08 UTC 2012


Aft nix wrote:
> On Fri, Jul 13, 2012 at 7:34 PM, Akemi Yagi <amyagi at gmail.com> wrote:
>> On Fri, Jul 13, 2012 at 5:29 AM, Aft nix <aftnix at gmail.com> wrote:
>>> Hi,
>>>
>>> I'm developing kernel modules right now, and the build times are
>>> starting to get under my skin. As a side effect i'm taking way too
>>> many "coffee" breaks during builds.
>> (snip)
>>> 3) Is there any way i can get the "Centos specific" patches in "plain
>>> patch" format? That means i dont wanna do things in src-rpm way.
>>> If the patches are available in normal patch format i can keep
>>> everything tidy in my kernel git tree.
>>
>> The CentOS way of "Build Your Own Kernel Modules" is described in this
>> CentOS wiki article:
>>
>> http://wiki.centos.org/HowTos/BuildingKernelModules
>>
>> I suggest you try method 1 first to see if you can build your module.
>> Once confirmed, you may want to proceed to method 3 to build a
>> kABI-compatible module.
>>
>> You can ask further questions about kmods either here, or better yet,
>> on the ELRepo's mailing list. ELRepo ( http://elrepo.org ) builds a
>> number of kernel modules for RHEL/CentOS/SL.
>
> So bottom line is, i can't get the patches other than src-rpms?

That's why I mentioned yum update <package>. Yum will get the dependencies
as well.
>
> I better learn this thing, i guess.

You're on CentOS and not using yum to update the system? You very much
need to learn it.

      mark




More information about the CentOS mailing list