[oe-commits] [openembedded-core] 22/23: kernel-devsrc: fix usrmerge install path

git at git.openembedded.org git at git.openembedded.org
Mon Dec 17 15:34:14 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 7a9a18fd1ad7594ba6b70c9098901c34692158bc
Author: Allen Wild <allenwild93 at gmail.com>
AuthorDate: Sat Dec 15 14:24:45 2018 -0500

    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 361ad21..87347fa 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}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list