mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/gentoo-kernel-bin: BDEPEND on dev-util/pahole
Without this, if CONFIG_DEBUG_INFO_BTF_MODULES is enabled, as it is
by default since 49e0de80b0, while g-k-bin
will seem to install fine, it's installed incorrectly.
It also leads to external modules later not being loadable with relocation
errors from unhandled BTF:
```
[ 1648.352993] module: x86/modules: Invalid relocation target, existing value is nonzero for type 1, loc 00000000bc2721ed, val ffffffffc11e7850
```
Thanks-to: Ionen Wolkens <ionen@gentoo.org>
Reported-by: Sebastian Engel <sighunter@gmx.de>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -11,7 +11,8 @@ inherit kernel-install toolchain-funcs unpacker
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
|
||||
BINPKG=${PF/-bin}-1
|
||||
# XXX: Change me back to PF afer 6.10.8-r1
|
||||
BINPKG=${P/-bin}-1
|
||||
|
||||
DESCRIPTION="Pre-built Linux kernel with Gentoo patches"
|
||||
HOMEPAGE="https://www.kernel.org/"
|
||||
@@ -49,6 +50,7 @@ PDEPEND="
|
||||
BDEPEND="
|
||||
app-alternatives/bc
|
||||
app-alternatives/lex
|
||||
dev-util/pahole
|
||||
virtual/libelf
|
||||
app-alternatives/yacc
|
||||
"
|
||||
Reference in New Issue
Block a user