summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel McGregor <daniel.mcgregor@vecima.com>2020-01-23 21:44:41 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-04 15:56:29 (GMT)
commite6daaf97b3aa39073caa18e0632bb3ff190bbc94 (patch)
tree0b28b588375f66ee31886fb2ddbddbfc087fa65d
parent32f9d3b56f4cf194783bfc7a369cce327b53cc08 (diff)
downloadpoky-e6daaf97b3aa39073caa18e0632bb3ff190bbc94.tar.gz
procps: enable optional systemd support
procps includes support for listing the owning unit of a process, but this support is disabled by default. Enable support using a PACKAGECONFIG that depends on the systemd DISTRO_FEATURE. (From OE-Core rev: 54a5daca450b8be251c45730ae4c0511811b668a) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/procps/procps_3.3.15.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps_3.3.15.bb b/meta/recipes-extended/procps/procps_3.3.15.bb
index f240e54..17abd96 100644
--- a/meta/recipes-extended/procps/procps_3.3.15.bb
+++ b/meta/recipes-extended/procps/procps_3.3.15.bb
@@ -24,6 +24,9 @@ S = "${WORKDIR}/procps-ng-${PV}"
24 24
25EXTRA_OECONF = "--enable-skill --disable-modern-top" 25EXTRA_OECONF = "--enable-skill --disable-modern-top"
26 26
27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
28PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
29
27do_install_append () { 30do_install_append () {
28 install -d ${D}${base_bindir} 31 install -d ${D}${base_bindir}
29 [ "${bindir}" != "${base_bindir}" ] && for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i; done 32 [ "${bindir}" != "${base_bindir}" ] && for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i; done