rpcbind: add PACKAGECONFIG for systemd

(From OE-Core rev: e3d3534f30afd52c4c8f5e8f9f098964b2f03c4b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Hongxu Jia 2015-01-13 10:24:23 +08:00 committed by Richard Purdie
parent 38978eef17
commit 02ee240db3
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@ USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --no-create-home --home-dir / \
--shell /bin/false --user-group rpc"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, \
--without-systemdsystemunitdir, \
systemd \
"
EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc"
do_install_append () {