diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2015-01-13 10:24:23 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:36:30 +0000 |
| commit | 02ee240db386f27928d2a12ba96bc1756459a096 (patch) | |
| tree | f0c2c810f6815a7a6dd4ad3783b5938be7b05f84 | |
| parent | 38978eef17383fa082d47b84b97292d8132b6331 (diff) | |
| download | poky-02ee240db386f27928d2a12ba96bc1756459a096.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb index 44c79eb21f..fd4b2b5b07 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}" | |||
| 42 | USERADD_PARAM_${PN} = "--system --no-create-home --home-dir / \ | 42 | USERADD_PARAM_${PN} = "--system --no-create-home --home-dir / \ |
| 43 | --shell /bin/false --user-group rpc" | 43 | --shell /bin/false --user-group rpc" |
| 44 | 44 | ||
| 45 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
| 46 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, \ | ||
| 47 | --without-systemdsystemunitdir, \ | ||
| 48 | systemd \ | ||
| 49 | " | ||
| 50 | |||
| 45 | EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc" | 51 | EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc" |
| 46 | 52 | ||
| 47 | do_install_append () { | 53 | do_install_append () { |
