Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 847254 Details for
Bug 889752
linux-mod.eclass: MODULESD_* broken for hyphenated modules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
linux-mod.eclass.patch (text/plain), 1.63 KB, created by
Steven Stallion
on 2023-01-04 20:14:11 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Steven Stallion
Created:
2023-01-04 20:14:11 UTC
Size:
1.63 KB
patch
obsolete
>diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass >index d14bbf7d9ea..6cf9969b19a 100644 >--- a/eclass/linux-mod.eclass >+++ b/eclass/linux-mod.eclass >@@ -408,7 +408,7 @@ generate_modulesd() { > > for((t=0; t<${module_aliases}; t++)) > do >- echo "alias $(eval echo \${MODULESD_${currm}_ALIASES[$t]})" \ >+ echo "alias $(eval echo \${MODULESD_${currm_t}_ALIASES[$t]})" \ > >> "${module_config}" > done > echo '' >> "${module_config}" >@@ -434,7 +434,7 @@ generate_modulesd() { > fi > > #----------------------------------------------------------------------- >- if [[ $(eval echo \${MODULESD_${currm}_ALIASES[0]}) == guess ]]; then >+ if [[ $(eval echo \${MODULESD_${currm_t}_ALIASES[0]}) == guess ]]; then > # So, let's do some guesswork, eh? > if [[ -n ${module_opts} ]]; then > echo "# For Example..." >> "${module_config}" >@@ -449,7 +449,7 @@ generate_modulesd() { > echo "# For Example..." >> "${module_config}" > echo "# --------------" >> "${module_config}" > for ((t=0; t<${module_examples}; t++)); do >- echo "options $(eval echo \${MODULESD_${currm}_EXAMPLES[$t]})" \ >+ echo "options $(eval echo \${MODULESD_${currm_t}_EXAMPLES[$t]})" \ > >> "${module_config}" > done > echo '' >> "${module_config}" >@@ -458,7 +458,7 @@ generate_modulesd() { > #----------------------------------------------------------------------- > if [[ ${module_additions} -gt 0 ]]; then > for ((t=0; t<${module_additions}; t++)); do >- echo "$(eval echo \${MODULESD_${currm}_ADDITIONS[$t]})" \ >+ echo "$(eval echo \${MODULESD_${currm_t}_ADDITIONS[$t]})" \ > >> "${module_config}" > done > echo '' >> "${module_config}"
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 889752
: 847254