mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
32f9d3b56f
commit
e6daaf97b3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user