From patchwork Thu Aug 2 14:19:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] systemtap-uprobes: inhibit package strip Date: Thu, 02 Aug 2012 14:19:08 -0000 From: Wade Farnsworth X-Patchwork-Id: 33673 Message-Id: <501A8C5C.8090503@mentor.com> To: Patches and discussions about the oe-core layer uprobes.ko is not located in /lib/modules, so it fails the check in runstrip that ensures that only the debug section is stripped, leaving the symbols untouched. This prevents the module from being inserted at run time. Inhibiting package stripping fixes the problem. Signed-off-by: Wade Farnsworth --- .../systemtap/systemtap-uprobes_git.bb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb index b328e6b..f135a54 100644 --- a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb @@ -9,6 +9,8 @@ PR = "r0" # On systems without CONFIG_UTRACE, this package is empty. ALLOW_EMPTY_${PN} = "1" +INHIBIT_PACKAGE_STRIP = "1" + inherit module-base gettext FILES_${PN} += "${datadir}/systemtap/runtime/uprobes"