summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez5/bluez5.inc
diff options
context:
space:
mode:
authorChristian Ege <k4230r6@gmail.com>2016-05-11 21:18:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-20 10:20:21 +0100
commit63cde9b8101ed39376529f3205d32729341d5802 (patch)
tree481e209bec4b56ddce2256dc3c7a24bb5744d7f7 /meta/recipes-connectivity/bluez5/bluez5.inc
parentda522c0c248c9a8b10a90de4cd6e7e05367e637d (diff)
downloadopenembedded-core-contrib-63cde9b8101ed39376529f3205d32729341d5802.tar.gz
bluez5: fixed path to bluetoothd in sysvinit script
Within the sysvinit script the path to bluetoothd is wrong. Because of this the init scripts silently terminates without any message Signed-off-by: Christian Ege <k4230r6@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/bluez5/bluez5.inc')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 9063629b9b..b3cd8ed5ca 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -61,6 +61,10 @@ do_install_append() {
install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/
fi
+ if [ -f ${D}/${sysconfdir}/init.d/bluetooth ]; then
+ sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}/${sysconfdir}/init.d/bluetooth
+ fi
+
# Install desired tools that upstream leaves in build area
for f in ${NOINST_TOOLS} ; do
install -m 755 ${B}/$f ${D}/${bindir}