[elrepo] Questions about rebuilding kmod-nvidia RPM for new kernel

Akemi Yagi toracat at elrepo.org
Fri Aug 30 13:00:39 EDT 2013


On Thu, Aug 29, 2013 at 3:41 PM, Rob Spearman
<rob at digitaliseducation.com> wrote:
>
> On 08/29/2013 01:56 PM, Akemi Yagi wrote:
>>
>> Take a look at the spec file from kmod-nvidia. Basically you want to
>> remove any reference to kmodtool (Source10). Remove those lines,
>> remove the lines that refer to depmod.d.
>>
>> If you are stuck, let us know what error(s) you get.
>
> Thanks a lot everyone, this allowed me to finally get this working!
>
> I just added a %files section to grab the nvidia.ko file and a depmod after
> install.
>
> Rob

Glad to hear you've got it working.

Just wondering. The line you added to the %files section is something
similar to this?

/lib/modules/%{kversion}/extra/%{kmod_name}

Akemi


More information about the elrepo mailing list