Summary: | app-admin/eselect: support for kernel directories other than linux-[[:digit:]]* | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Kobboi <gentoo> |
Component: | eselect | Assignee: | Gentoo eselect Team <eselect> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=104354 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kobboi
2014-07-09 11:12:33 UTC
In git, commit 2595c33ecfc5d1604a421f420ca6786c98968ba8: --- a/modules/kernel.eselect +++ b/modules/kernel.eselect @@ -28,8 +28,8 @@ sort_kernel_versions() { # find a list of kernel symlink targets find_targets() { local f - for f in "${EROOT}"/usr/src/linux-[[:digit:]]*; do - [[ -f ${f}/Makefile ]] && basename "${f}" + for f in "${EROOT}"/usr/src/linux-*; do + [[ -f ${f}/Makefile && -f ${f}/Kconfig ]] && basename "${f}" done | sort_kernel_versions } Fixed in eselect-1.4.3. Thanks for reporting. |