From d7ef6cb84ef1d677a2c996f080ae519360ed5525 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 5 Oct 2024 01:29:09 +0100 Subject: eclass/linux-build: simplify module install --- eclass/linux-build.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index 487fc8b0..c534facc 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -699,8 +699,8 @@ _linux-build_src_install_build() { rm "${WORKDIR}/lib/modules/${KV_FULL}/build" rm "${WORKDIR}/lib/modules/${KV_FULL}/source" - insinto /lib - doins -r "${WORKDIR}/lib/modules" + insinto /lib/modules + doins -r "${WORKDIR}/lib/modules/${KV_FULL}" fi if [[ -e "${WORKDIR}/lib/firmware" ]] ; then -- cgit v1.2.3