commit: 72d1d753394958d52f25ea412fe75bb0282844d9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Dec 9 10:21:39 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Dec 9 10:31:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d1d753
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 <AT> gentoo.org> eclass/kernel-build.eclass | 7 +------ 1 file changed, 1 insertion(+), 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