[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] Fix bin/depmod.pl to handle 3.x kernels
From: |
Peter Barada |
Subject: |
[Ltib] Fix bin/depmod.pl to handle 3.x kernels |
Date: |
Thu, 18 Oct 2012 11:33:15 -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 |
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".
--
Peter Barada
address@hidden
depmod-3.x-series.patch
Description: Text Data
- [Ltib] Fix bin/depmod.pl to handle 3.x kernels,
Peter Barada <=