Patchwork [2/4] kmod: fix QA issue

login
register
mail settings
Submitter Hongxu Jia
Date Nov. 4, 2013, 7:13 a.m.
Message ID <fa0a2c84f0b4e6b88d70bb869b24c07a2f70c574.1383549031.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/61073/
State New
Headers show

Comments

Hongxu Jia - Nov. 4, 2013, 7:13 a.m.
The commit 7163ebd92a799b8f000b2b6f303b20de468b5f90
Revert "kmod: Use base_libdir for installing libkmod"

It caused a QA Issue WARNING:
...
WARNING: QA Issue: kmod: /bin/kmod, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkmod.so.2 => /usr/lib64/libkmod.so.2 (0x00000000dead1000)
...

But we did this reasonably, we should skip the qa check explicitly.

[YOCTO #5142]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-kernel/kmod/kmod_git.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb
index f90b9aa..b370016 100644
--- a/meta/recipes-kernel/kmod/kmod_git.bb
+++ b/meta/recipes-kernel/kmod/kmod_git.bb
@@ -15,6 +15,7 @@  RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod
 bindir = "${base_bindir}"
 sbindir = "${base_sbindir}"
 # libdir = "${base_libdir}"
+INSANE_SKIP_${PN} = "unsafe-ref-bin"
 
 do_install_append () {
         install -dm755 ${D}${base_bindir}