Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217824 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), 835 bytes, created by
Peter Volkov (RETIRED)
on 2010-01-29 11:28:24 UTC
(
hide
)
Description:
module-init-tools-3.11.1.ebuild.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2010-01-29 11:28:24 UTC
Size:
835 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-29 14:26:05.000000000 +0300 >@@ -55,4 +55,22 @@ > if grep -qs modules-update "${ROOT}"/etc/init.d/modules ; then > sed -i 's:modules-update:update-modules:' "${ROOT}"/etc/init.d/modules > fi >+ >+ if $(pushd "${ROOT}/etc/modprobe.d/" >/dev/null); then >+ local i f cfg >+ for f in *; do >+ [[ -z ${f/*.conf} ]] && continue # skip files _not_ ending on .conf >+ [[ ! -f ${f}.conf ]] && continue # skip if ${f}.conf doesn't exit >+ i=0 >+ cfg=$(printf "._cfg%04d_${f}.conf" ${i}) >+ while [[ -e ${cfg} ]];do >+ ((i++)) >+ cfg=$(printf "._cfg%04d_${f}.conf" ${i}) >+ done >+ einfo "Updating ${f} at ${ROOT}/etc/modprobe.d/" >+ mv "${f}.conf" "${cfg}" >+ mv "${f}" "${f}.conf" >+ done >+ popd >/dev/null >+ fi > }
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