[oe] [meta-oe][PATCH] smem: package smemcap separately

Maciej Pijanowski maciej.pijanowski at 3mdeb.com
Fri Oct 4 15:38:02 UTC 2019


Signed-off-by: Maciej Pijanowski <maciej.pijanowski at 3mdeb.com>

smemcap is a tiny binary which allows capturing current state of the /proc
for further offline analysis.

Package it seperately so there is no need to install python runtime
dependencies on the embedded system when not required.
---
 meta-oe/recipes-support/smem/smem_1.4.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/smem/smem_1.4.bb b/meta-oe/recipes-support/smem/smem_1.4.bb
index 519020f3b0d7..702217a33d3e 100644
--- a/meta-oe/recipes-support/smem/smem_1.4.bb
+++ b/meta-oe/recipes-support/smem/smem_1.4.bb
@@ -25,3 +25,7 @@ do_install() {
         install -m 0644 ${S}/smem.8 ${D}/${mandir}/man8/
 }
 RDEPENDS_${PN} += "python-textutils python-compression python-shell python-codecs"
+
+PACKAGES =+ "smemcap"
+
+FILES_smemcap = "${bindir}/smemcap"
-- 
2.7.4



More information about the Openembedded-devel mailing list