[oe-commits] [openembedded-core] 07/13: procps: enable optional systemd support

git at git.openembedded.org git at git.openembedded.org
Mon Feb 3 23:33:12 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit ed8e300faf4969a3ada80efaec77e1161e10e95c
Author: Daniel McGregor <daniel.mcgregor at vecima.com>
AuthorDate: Thu Jan 23 15:44:41 2020 -0600

    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.
    
    Signed-off-by: Daniel McGregor <daniel.mcgregor at vecima.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/procps/procps_3.3.15.bb | 3 +++
 1 file changed, 3 insertions(+)

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}"
 
 EXTRA_OECONF = "--enable-skill --disable-modern-top"
 
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
+
 do_install_append () {
 	install -d ${D}${base_bindir}
 	[ "${bindir}" != "${base_bindir}" ] && for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i; done

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list