[arch-projects] [PATCH 08/10] depmod: no longer update module dependencies on boot
Seblu
seblu at seblu.net
Sun Apr 3 05:03:09 EDT 2011
On Fri, Apr 1, 2011 at 2:51 AM, Seblu <seblu at seblu.net> wrote:
> On Wed, Mar 30, 2011 at 8:01 PM, Tom Gundersen <teg at jklm.no> wrote:
>> This should not be necessary as the packages installing modules should
>> be responsible for updating the dependencies.
>>
>> Furthermore, as modules can be loaded very early in boot, but depmod can
>> only be called after root is mounted rw, we can not rely on depmod
>> fixing broken module dependencies.
>>
>> Signed-off-by: Tom Gundersen <teg at jklm.no>
>> ---
>> rc.sysinit | 2 --
>> 1 files changed, 0 insertions(+), 2 deletions(-)
>>
>> diff --git a/rc.sysinit b/rc.sysinit
>> index 1331587..8ab9b58 100755
>> --- a/rc.sysinit
>> +++ b/rc.sysinit
>> @@ -339,8 +339,6 @@ if [[ $NISDOMAINNAME ]]; then
>> status "Setting NIS Domain Name: $NISDOMAINNAME" /bin/nisdomainname "$NISDOMAINNAME"
>> fi
>>
>> -status "Updating Module Dependencies" /sbin/depmod -A
>> -
>> [[ $LOCALE ]] || LOCALE="en_US"
>> stat_busy "Setting Locale: $LOCALE"
>> # Flush old locale settings
>> --
>> 1.7.4.2
>>
>>
> looks good!
and fix : https://bugs.archlinux.org/task/20174
--
Sébastien Luttringer
www.seblu.net
More information about the arch-projects
mailing list