aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorAllen Wild <allenwild93@gmail.com>2018-12-15 14:24:45 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-18 16:19:29 +0000
commita62085b5047e7943bdcc9d4ce3480d100618eeb1 (patch)
tree25cd1397861afefcbc5b63ad6cf66dd3a59ed9b2 /meta/recipes-kernel
parent381c63ad2a6e004658b0232b6e6763f49f412b2b (diff)
downloadopenembedded-core-contrib-a62085b5047e7943bdcc9d4ce3480d100618eeb1.tar.gz
openembedded-core-contrib-a62085b5047e7943bdcc9d4ce3480d100618eeb1.tar.bz2
openembedded-core-contrib-a62085b5047e7943bdcc9d4ce3480d100618eeb1.zip
kernel-devsrc: fix usrmerge install path
Update /lib to $nonarch_base_libdir to fix package QA errors when usermerge is enabled in DISTRO_FEATURES. ERROR: kernel-devsrc-1.0-r0 do_package_qa: QA Issue: kernel-devsrc package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] Signed-off-by: Allen Wild <allenwild93@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 361ad21e1f..87347fa969 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -32,7 +32,7 @@ B = "${STAGING_KERNEL_BUILDDIR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-KERNEL_BUILD_ROOT="/lib/modules/"
+KERNEL_BUILD_ROOT="${nonarch_base_libdir}/modules/"
do_install() {
kerneldir=${D}${KERNEL_BUILD_ROOT}${KERNEL_VERSION}