diff options
author | Daniel McGregor <daniel.mcgregor@vecima.com> | 2020-01-23 15:44:41 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-04 15:56:29 +0000 |
commit | e6daaf97b3aa39073caa18e0632bb3ff190bbc94 (patch) | |
tree | 0b28b588375f66ee31886fb2ddbddbfc087fa65d | |
parent | 32f9d3b56f4cf194783bfc7a369cce327b53cc08 (diff) | |
download | poky-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.bb | 3 |
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 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}" | |||
24 | 24 | ||
25 | EXTRA_OECONF = "--enable-skill --disable-modern-top" | 25 | EXTRA_OECONF = "--enable-skill --disable-modern-top" |
26 | 26 | ||
27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | ||
28 | PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd" | ||
29 | |||
27 | do_install_append () { | 30 | do_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 |