Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34274 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]
recalculate module dependency if something changes
fastermodules.patch (text/plain), 737 bytes, created by
Paul Pacheco
on 2004-06-27 07:42:02 UTC
(
hide
)
Description:
recalculate module dependency if something changes
Filename:
MIME Type:
Creator:
Paul Pacheco
Created:
2004-06-27 07:42:02 UTC
Size:
737 bytes
patch
obsolete
>--- modules.orig 2004-06-27 09:44:41.600013640 -0500 >+++ modules 2004-06-27 09:56:14.791632496 -0500 >@@ -84,9 +84,15 @@ > > if [ -z "${CDBOOT}" ] > then >- ebegin "Calculating module dependencies" >- /sbin/modules-update &>/dev/null >- eend $? "Failed to calculate dependencies" >+ # do we need to recalculate module dependencies? >+ if [ ! -x /usr/bin/find ] || [ -n "`/usr/bin/find /etc/modules.d -type f -newer /etc/modules.conf`" ] >+ then >+ ebegin "Calculating module dependencies" >+ /sbin/modules-update &>/dev/null >+ eend $? "Failed to calculate dependencies" >+ else >+ einfo "Module dependencies are up-to-date - do not recalculating." >+ 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