Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 737938 Details for
Bug 811726
linux-info.eclass: packages fail with "Could not detect kernel version" with out of tree kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Pass need-config= to make in getfilevar
0001-linux-info.eclass-getfilevar-pass-need-config-to-mak.patch (text/plain), 1.12 KB, created by
Mike Gilbert
on 2021-09-06 17:29:32 UTC
(
hide
)
Description:
Pass need-config= to make in getfilevar
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2021-09-06 17:29:32 UTC
Size:
1.12 KB
patch
obsolete
>From ba039b9573f4feae51360c5d77bde82cac23e609 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Mon, 6 Sep 2021 13:18:05 -0400 >Subject: [PATCH] linux-info.eclass: getfilevar: pass need-config= to make > >This bypasses the config check in the kernel Makefile. > >Closes: https://bugs.gentoo.org/811726 >Signed-off-by: Mike Gilbert <floppym@gentoo.org> >--- > eclass/linux-info.eclass | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass >index 48f2ff7fbcb..f794f42d0c0 100644 >--- a/eclass/linux-info.eclass >+++ b/eclass/linux-info.eclass >@@ -204,9 +204,10 @@ getfilevar() { > unset ARCH > > # We use nonfatal because we want the caller to take care of things #373151 >+ # Pass need-config= to make to avoid config check in kernel Makefile. > [[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; } > echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \ >- nonfatal emake -C "${basedname}" M="${T}" ${BUILD_FIXES} -s -f - 2>/dev/null >+ nonfatal emake -C "${basedname}" M="${T}" need-config= ${BUILD_FIXES} -s -f - 2>/dev/null > > ARCH=${myARCH} > fi >-- >2.33.0 >
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 811726
:
737926
| 737938 |
739195