Any comments to this patch? If there are no objections, could it be applied? Cheers, Tom On Thu, Feb 24, 2011 at 2:03 AM, Tom Gundersen <teg@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@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" fi
-status "Updating Module Dependencies" /sbin/depmod -A - # Flush old locale settings : >| /etc/profile.d/locale.sh /bin/chmod 755 /etc/profile.d/locale.sh -- 1.7.4.1