Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37630 Details for
Bug 55329
don't do modules-update on every boot, just when needed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New version not using find
patch2 (text/plain), 723 bytes, created by
Paul Pacheco
on 2004-08-17 14:44:08 UTC
(
hide
)
Description:
New version not using find
Filename:
MIME Type:
Creator:
Paul Pacheco
Created:
2004-08-17 14:44:08 UTC
Size:
723 bytes
patch
obsolete
>--- modules.orig 2004-08-17 16:22:55.820054840 -0500 >+++ modules 2004-08-17 16:31:01.961150160 -0500 >@@ -83,9 +83,23 @@ > > if [ -z "${CDBOOT}" ] > then >- ebegin "Calculating module dependencies" >- /sbin/modules-update &>/dev/null >- eend $? "Failed to calculate dependencies" >+ newerfiles="$( >+ for f in /etc/modules.d/*; do >+ if [ "$f" -nt /etc/modules.conf ] ; then >+ echo "$f" >+ fi >+ done >+ )" >+ >+ if [ -z "$newerfiles" ]; then >+ >+ einfo "Module dependencies are up-to-date." >+ else >+ >+ ebegin "Calculating module dependencies" >+ /sbin/modules-update &>/dev/null >+ eend $? "Failed to calculate dependencies" >+ fi > fi > > if [ -f /etc/modules.autoload -a ! -L /etc/modules.autoload ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 55329
:
34274
|
37630
|
39398
|
39435
|
40449
|
42697
|
43295
|
43725
|
44151
|
45288