Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 109082 Details for
Bug 165134
/sbin/modules-update fails when /etc/init.d/modules starts and /usr/src is on a separate partition than /
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
modules-update.diff
modules-update.diff (text/plain), 749 bytes, created by
Jakub Moc (RETIRED)
on 2007-02-04 10:31:43 UTC
(
hide
)
Description:
modules-update.diff
Filename:
MIME Type:
Creator:
Jakub Moc (RETIRED)
Created:
2007-02-04 10:31:43 UTC
Size:
749 bytes
patch
obsolete
>--- sys-apps/module-init-tools/files/modules-update 2007-02-04 00:36:33.000000000 +0100 >+++ sys-apps/module-init-tools/files/modules-update 2007-02-04 11:28:28.000000000 +0100 >@@ -395,6 +395,18 @@ > } > depfile=$(grab_depfile) > >+ARCH=$(/bin/uname -m) >+case "${ARCH}" in >+ i?86) >+ ARCH="x86" >+ ;; >+ mips|mips64) >+ ARCH="mips" >+ ;; >+ *) >+ ;; >+esac >+ > if [[ -d ${depfile%/*} ]] ; then > if [[ ${CFG_NEW_FILE} -nt ${depfile} ]] ; then > ebegin "Updating modules.dep" >@@ -402,7 +414,7 @@ > /boot /usr/src/linux "" > do > cfg="${cfg}/System.map" >- for suffix in -genkernel-${KV} -${KV} "" ; do >+ for suffix in -genkernel-${ARCH}-${KV} -${KV} "" ; do > [[ -f ${cfg}${suffix} ]] && cfg="${cfg}${suffix}" && break 2 > done > done
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 165134
: 109082 |
111474