diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2021-10-20 14:47:55 +0800 |
---|---|---|
committer | Hongxu Jia <hongxu.jia@windriver.com> | 2021-10-21 15:45:34 +0800 |
commit | 3d39d355867caaee00c42614f7eb4a9b0830b84b (patch) | |
tree | 3e05546180d63768facf0c4ef489c171f32beb74 /recipes-kernel | |
parent | 265c7afa5c7e1491b960e5f77132a01dd6455feb (diff) | |
download | meta-freescale-3d39d355867caaee00c42614f7eb4a9b0830b84b.tar.gz |
odp-module/odp-counters/kernel-module-ar: fix QA Issue during usermerge
While enabling usermerge, there is a QA issue:
...
ERROR: odp-counters-git-r0 do_package: QA Issue: odp-counters: Files/directories were installed but not shipped in any package:
/lib
/lib/modules
/lib/modules/5.10.70-yocto-standard
/lib/modules/5.10.70-yocto-standard/odp
/lib/modules/5.10.70-yocto-standard/odp/odpfsl_perfcounters.ko
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
odp-counters: 5 installed and not shipped files. [installed-vs-shipped]
...
Use Yocto nonarch_base_libdir to replace hardcode /lib
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/kernel-modules/kernel-module-ar_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb index f2cd1a57..898afeb2 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb | |||
@@ -19,9 +19,9 @@ do_compile:prepend() { | |||
19 | } | 19 | } |
20 | 20 | ||
21 | do_install(){ | 21 | do_install(){ |
22 | install -d ${D}/lib/modules/${KERNEL_VERSION} | 22 | install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} |
23 | install -d ${D}${bindir} | 23 | install -d ${D}${bindir} |
24 | install -m 644 ${B}/bin/ar.ko ${D}/lib/modules/${KERNEL_VERSION}/ | 24 | install -m 644 ${B}/bin/ar.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/ |
25 | cp -f ${S}/bin/ar_* ${D}${bindir}/ | 25 | cp -f ${S}/bin/ar_* ${D}${bindir}/ |
26 | } | 26 | } |
27 | 27 | ||