summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-09 11:21:39 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-09 11:31:47 +0100
commit72d1d753394958d52f25ea412fe75bb0282844d9 (patch)
tree71c99e6b5d0c6c784701de43acdc927b1237c956 /eclass/kernel-build.eclass
parentdev-python/pandas: Bump to 2.1.4 (diff)
downloadgentoo-72d1d753394958d52f25ea412fe75bb0282844d9.tar.gz
gentoo-72d1d753394958d52f25ea412fe75bb0282844d9.tar.bz2
gentoo-72d1d753394958d52f25ea412fe75bb0282844d9.zip
kernel-build.eclass: Do not call dtbs_install in src_test()
Do not call `emake dtbs_install` in `src_test()` phase, as it attempts to install straight to `/boot`. Why do people send patches without actually testing them?! Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r--eclass/kernel-build.eclass7
1 files changed, 1 insertions, 6 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 4f7e4d047739..f5529c319f9f 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -218,11 +218,6 @@ kernel-build_src_compile() {
# from kernel-install.eclass with the correct paths.
kernel-build_src_test() {
debug-print-function ${FUNCNAME} "${@}"
- local targets=( modules_install )
- # on arm or arm64 you also need dtb
- if use arm || use arm64 || use riscv; then
- targets+=( dtbs_install )
- fi
# Use the kernel build system to strip, this ensures the modules
# are stripped *before* they are signed or compressed.
@@ -233,7 +228,7 @@ kernel-build_src_test() {
emake O="${WORKDIR}"/build "${MAKEARGS[@]}" \
INSTALL_MOD_PATH="${T}" INSTALL_MOD_STRIP="${strip_args}" \
- "${targets[@]}"
+ modules_install
local dir_ver=${PV}${KV_LOCALVERSION}
local relfile=${WORKDIR}/build/include/config/kernel.release