From 54a5daca450b8be251c45730ae4c0511811b668a Mon Sep 17 00:00:00 2001 From: Daniel McGregor Date: Thu, 23 Jan 2020 15:44:41 -0600 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-extended/procps/procps_3.3.15.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/procps/procps_3.3.15.bb b/meta/recipes-extended/procps/procps_3.3.15.bb index f240e54fd8..17abd96dca 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 -- cgit 1.2.3-korg