diff options
author | Allen Wild <allenwild93@gmail.com> | 2018-12-15 14:24:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-18 16:19:34 +0000 |
commit | d59c162a3303a2b31f1df3680c25fdd86551eac4 (patch) | |
tree | e79635a6e331b2814ad164206911c8c6806fe0db | |
parent | 1fa8e90c420c0475efd043c633bf3c7b057da2b2 (diff) | |
download | poky-d59c162a3303a2b31f1df3680c25fdd86551eac4.tar.gz |
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]
(From OE-Core rev: a62085b5047e7943bdcc9d4ce3480d100618eeb1)
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 2 |
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}" | |||
32 | 32 | ||
33 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 33 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
34 | 34 | ||
35 | KERNEL_BUILD_ROOT="/lib/modules/" | 35 | KERNEL_BUILD_ROOT="${nonarch_base_libdir}/modules/" |
36 | 36 | ||
37 | do_install() { | 37 | do_install() { |
38 | kerneldir=${D}${KERNEL_BUILD_ROOT}${KERNEL_VERSION} | 38 | kerneldir=${D}${KERNEL_BUILD_ROOT}${KERNEL_VERSION} |