diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-09-17 11:06:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-21 09:24:24 +0100 |
commit | 8b85be328c3c8bf9d5b6e62997e84e20dec6de1e (patch) | |
tree | cc6907abe49dbf3c0bc34459f369e769f633c732 /meta/recipes-connectivity/bluez5 | |
parent | b555f56edceec71386c9c4e6dab086ee95049278 (diff) | |
download | poky-8b85be328c3c8bf9d5b6e62997e84e20dec6de1e.tar.gz |
bluez5: Correct support for building without systemd
This avoids the following error when the systemd DISTRO_FEATURE is
enabled, but the systemd PACKAGECONFIG is not:
ERROR: bluez5-5.46-r0 do_package: SYSTEMD_SERVICE_bluez5 value
bluetooth.service does not exist
(From OE-Core rev: a751a1f4ab0625cbfedb6445b0da080fc455848f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bluez5')
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 2ae4553d48..1807aa7c96 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -132,7 +132,7 @@ FILES_${PN}-noinst-tools = "${@get_noinst_tools_paths(d, bb, d.getVar('NOINST_TO | |||
132 | 132 | ||
133 | RDEPENDS_${PN}-testtools += "python3 python3-dbus python3-pygobject" | 133 | RDEPENDS_${PN}-testtools += "python3 python3-dbus python3-pygobject" |
134 | 134 | ||
135 | SYSTEMD_SERVICE_${PN} = "bluetooth.service" | 135 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'bluetooth.service', '', d)}" |
136 | INITSCRIPT_PACKAGES = "${PN}" | 136 | INITSCRIPT_PACKAGES = "${PN}" |
137 | INITSCRIPT_NAME_${PN} = "bluetooth" | 137 | INITSCRIPT_NAME_${PN} = "bluetooth" |
138 | 138 | ||