[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Fix bin/depmod.pl to handle 3.x kernels
From: |
Peter Barada |
Subject: |
Re: [Ltib] Fix bin/depmod.pl to handle 3.x kernels |
Date: |
Fri, 19 Oct 2012 08:48:40 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 |
On 10/19/2012 08:19 AM, Stuart Hughes wrote:
> On 18/10/12 16:33, Peter Barada wrote:
>> Stuart,
>>
>> bin/depmod.pl looks for either 2.4 or 2.6 series kernels to determine
>> formating of /lib/modules/<kernel>/modules.dep. The older 2.4 series
>> uses backslashes and blank lines formatting whereas the newer kernels
>> series doesn't. Unfortunately depmod.pl determiens a 3.x series kernel
>> should use the old format which breaks modprobe/modinfo.
>>
>> The attached patch addresses this by making a 2.4 series kernel "old"
>> and everything else "new".
>>
> Thanks Peter,
>
> I'll get this applied.
>
> BTW: did you get a chance to test the "distclean" patch I send you?
Sorry, but yes. My world's a bit tweaked from the standard LTIB since
I've hacked up the ltib script to handle git/SVN repositories and run
the prep step before checking if anything has changed (only for git/SVN
packages).
Oce I modified the distclean patch to fit my ltib script it worked for me.
--
Peter Barada
address@hidden