Signed-off-by: Hongxu Jia <[email protected]>
---
meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb
b/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb
index 44c79eb..fd4b2b5 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb
@@ -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 () {
--
1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core