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

Fri Jul 13 17:48:23 UTC 2012
Aft nix <aftnix at gmail.com>

On Fri, Jul 13, 2012 at 9:01 PM,  <m.roth at 5-cent.us> wrote:
> 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.
>

I know how yum works. i'm a long time centos user. I'm talking about
the "centos specific patches" for the kernel. if i roll
these patches over vanilla kernel, it will become the kernel source
where kernel rpms are built. Now centos distributes its kernel sources
through src-rpms(srpms). Which is "already patched" kernel source.
What i want is just the patches. so i that i can roll it over vanilla
kernel
and get identical source as those distributed through srpms.

I hope i'm clear now.

cheers.

>       mark
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 
-aft