diff options
author | Christian Ege <k4230r6@gmail.com> | 2016-05-11 21:18:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 18:17:47 +0100 |
commit | 4bcd78028ae1000ea4cd86f4a729d4497618ae85 (patch) | |
tree | 1d554bcd0baa423f9fde43ed0e83c2bc1fb5851c | |
parent | b0b91490e4ede61a302eb547da2cc65aa7da87ff (diff) | |
download | openembedded-core-4bcd78028ae1000ea4cd86f4a729d4497618ae85.tar.gz openembedded-core-4bcd78028ae1000ea4cd86f4a729d4497618ae85.tar.bz2 openembedded-core-4bcd78028ae1000ea4cd86f4a729d4497618ae85.zip |
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>
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 4 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5/init | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index a508229a34..01c64e8c6f 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -60,6 +60,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} diff --git a/meta/recipes-connectivity/bluez5/bluez5/init b/meta/recipes-connectivity/bluez5/bluez5/init index 1606a5c663..489e9b9eba 100644 --- a/meta/recipes-connectivity/bluez5/bluez5/init +++ b/meta/recipes-connectivity/bluez5/bluez5/init @@ -3,7 +3,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin DESC=bluetooth -DAEMON=/usr/lib/bluez5/bluetooth/bluetoothd +DAEMON=@LIBEXECDIR@/bluetooth/bluetoothd # If you want to be ignore error of "org.freedesktop.hostname1", # please enable NOPLUGIN_OPTION. |