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

Tom Gundersen teg at jklm.no
Wed Mar 30 14:01:29 EDT 2011


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



More information about the arch-projects mailing list