[arch-general] [PATCH][initscripts] depmod: do not update module dependencies on boot
teg at jklm.no
Sat Mar 19 10:52:57 EDT 2011
Any comments to this patch? If there are no objections, could it be applied?
On Thu, Feb 24, 2011 at 2:03 AM, Tom Gundersen <teg at jklm.no> wrote:
> Running depmod on boot should not be necessary as the packages
> installing modules should be responsible for updating the dependencies
> themselves (and they do, at least the packages I looked through).
> Furthermore, as modules can be loaded very early in boot (by e.g.
> udev), 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 1dfae33..dfb0050 100755
> --- a/rc.sysinit
> +++ b/rc.sysinit
> @@ -351,8 +351,6 @@ if [[ $NISDOMAINNAME ]]; then
> status "Setting NIS Domain Name: $NISDOMAINNAME"
> /bin/nisdomainname "$NISDOMAINNAME"
> -status "Updating Module Dependencies" /sbin/depmod -A
> # Flush old locale settings
> : >| /etc/profile.d/locale.sh
> /bin/chmod 755 /etc/profile.d/locale.sh
More information about the arch-general