Summary: | linux-mod.eclass: MODULESD_* broken for hyphenated modules | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steven Stallion <sstallion> |
Component: | Eclasses | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chutzpah |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Proposed fix |
Description
Steven Stallion
2023-01-04 20:13:41 UTC
Created attachment 847254 [details, diff]
Proposed fix
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd0e2bb9236fe31224a6d8984ce85a38add6849 commit 2bd0e2bb9236fe31224a6d8984ce85a38add6849 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2023-01-11 14:07:55 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2023-01-11 14:07:55 +0000 linux-mod.eclass: Fix MODULESD_* for hyphenated modules Use of the MODULESD_<modulename>_{ADDITIONS,ALIASES,EXAMPLES} variables do not currently work with external modules that are hyphenated. The current behavior results in an invalid modprobe.d file containing partially evaluated content. This appears to be due to use of ${currm} rather than ${currm_t} when Referencing variables. This changes the use of ${currm} to ${currm_t} when referencing variables to resolve this issue. Closes: https://bugs.gentoo.org/889752 Author: Steven Stallion <steven.stallion@sony.com> Signed-off-by: Mike Pagano <mpagano@gentoo.org> eclass/linux-mod.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) |