Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217766 Details for
Bug 274942
[tracker] sys-apps/module-init-tools-3.9: WARNING: All config files need .conf: /etc/modprobe.d/foo will be ignored in a future releases
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
module-init-tools-3.11.1.ebuild.patch
module-init-tools-3.11.1.ebuild.patch (text/plain), 630 bytes, created by
Peter Volkov (RETIRED)
on 2010-01-28 19:48:06 UTC
(
hide
)
Description:
module-init-tools-3.11.1.ebuild.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2010-01-28 19:48:06 UTC
Size:
630 bytes
patch
obsolete
>--- module-init-tools-3.11.1.ebuild 2010-01-08 05:40:59.000000000 +0300 >+++ module-init-tools-3.11.1.ebuild 2010-01-28 22:32:48.000000000 +0300 >@@ -55,4 +55,17 @@ > if grep -qs modules-update "${ROOT}"/etc/init.d/modules ; then > sed -i 's:modules-update:update-modules:' "${ROOT}"/etc/init.d/modules > fi >+ >+ local i cfg >+ for f in "${ROOT}/etc/modprobe.d/"*; do >+ [[ -z ${f/*.conf} ]] && continue >+ [[ ! -f ${f}.conf ]] && continue >+ i=0 >+ cfg=$(printf "._cfg_%04d_${f/*\/}" ${i}) >+ while [[ -e ${f%/*}/${cfg} ]];do >+ ((i++)) >+ cfg=$(printf "._cfg_%04d_${f/*\/}" ${i}) >+ done >+ mv ${f} ${f%/*}/${cfg}.conf >+ 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 274942
:
217766
|
217797
|
217824