[arch-projects] [PATCH 08/10] depmod: no longer update module dependencies on boot

Seblu seblu at seblu.net
Thu Mar 31 20:51:52 EDT 2011


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!


-- 
Sébastien Luttringer
www.seblu.net


More information about the arch-projects mailing list