Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38853 Details for
Bug 51371
Modules.dep file being searched for when kernel compiled without module support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
modules_patch.patch
modules_patch.patch (text/plain), 799 bytes, created by
Maurice Müller
on 2004-09-03 16:00:32 UTC
(
hide
)
Description:
modules_patch.patch
Filename:
MIME Type:
Creator:
Maurice Müller
Created:
2004-09-03 16:00:32 UTC
Size:
799 bytes
patch
obsolete
>*** modules.old Fri Sep 3 23:45:13 2004 >--- modules Sat Sep 4 02:14:08 2004 >*************** >*** 70,78 **** > > start() { > # Should not fail if kernel do not have module > # support compiled in ... >! [ -f /proc/modules ] || return 0 > > # Here we should fail, as a modular kernel do need > # depmod command ... > if [ ! -x /sbin/depmod ] >--- 70,86 ---- > > start() { > # Should not fail if kernel do not have module > # support compiled in ... >! if [ ! -f /proc/modules ] >! then >! local modfile=`cat /proc/version | sed 's/[^ ]* version \([^ ]*\).*/\/lib\/modules\/\1\/modules.dep/'` >! if [ ! -f "${modfile}" ] >! then >! touch ${modfile} >! fi >! return 0 >! fi > > # Here we should fail, as a modular kernel do need > # depmod command ... > if [ ! -x /sbin/depmod ]
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 51371
: 38853