Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] procps: enable optional systemd support
@ 2020-01-23 20:30 Dan McGregor
  2020-01-23 20:30 ` [PATCH 2/3] cmake: prefer CMAKE_BUILD_PARALLEL_LEVEL Dan McGregor
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Dan McGregor @ 2020-01-23 20:30 UTC (permalink / raw)
  To: openembedded-core

From: Daniel McGregor <daniel.mcgregor@vecima.com>

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@vecima.com>
---
 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 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
-- 
2.24.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-01-23 22:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-23 20:30 [PATCH 1/3] procps: enable optional systemd support Dan McGregor
2020-01-23 20:30 ` [PATCH 2/3] cmake: prefer CMAKE_BUILD_PARALLEL_LEVEL Dan McGregor
2020-01-23 20:30 ` [PATCH 3/3] Allow customising buildhistory tags Dan McGregor
2020-01-23 21:02 ` ✗ patchtest: failure for "procps: enable optional system..." and 2 more Patchwork
2020-01-23 21:44 ` [PATCH v2 1/3] procps: enable optional systemd support Dan McGregor
2020-01-23 21:44   ` [PATCH v2 2/3] cmake: prefer CMAKE_BUILD_PARALLEL_LEVEL Dan McGregor
2020-01-23 21:44   ` [PATCH v2 3/3] buildhistory: Allow customising buildhistory tags Dan McGregor
2020-01-23 22:02 ` ✗ patchtest: failure for "procps: enable optional system..." and 2 more (rev2) Patchwork
2020-01-23 22:02 ` ✗ patchtest: failure for "procps: enable optional system..." and 2 more (rev3) Patchwork
2020-01-23 22:02 ` ✗ patchtest: failure for "procps: enable optional system..." and 2 more (rev4) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox