From: Hongxu Jia Date: Tue, 13 Jan 2015 02:24:23 +0000 (+0800) Subject: rpcbind: add PACKAGECONFIG for systemd X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31497 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d3534f30afd52c4c8f5e8f9f098964b2f03c4b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rpcbind: add PACKAGECONFIG for systemd Signed-off-by: Hongxu Jia --- diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb index 44c79eb21f4..fd4b2b5b07c 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 () {