Skip to contentSkip to conversation

bluez5: fixed path to bluetoothd in sysvinit script

PATCH In review Christian Ege 2 participants 2 messages May 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta/recipes-connectivity/bluez5/bluez5/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/bluez5/bluez5/init +1 -1
index 1606a5c..9777614 100644
@@ -3,7 +3,7 @@
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DESC=bluetooth
 
-DAEMON=/usr/lib/bluez5/bluetooth/bluetoothd
+DAEMON=/usr/libexec/bluetooth/bluetoothd
 
 # If you want to be ignore error of "org.freedesktop.hostname1",
 # please enable NOPLUGIN_OPTION.
Signature · 1 line
2.1.4
#1 lore raw

meta/recipes-connectivity/bluez5/bluez5/init line 6

Quoted 3 lines · Christian Ege
meta/recipes-connectivity/bluez5/bluez5/init +1 -1
-DAEMON=/usr/lib/bluez5/bluetooth/bluetoothd
+DAEMON=/usr/libexec/bluetooth/bluetoothd

This is only true if libexecdir is set to /usr/libexec (the original patch
was equally broken). Can you change the recipe so that the init script
uses something lie @LIBEXECDIR@ and the right value is replaced in do_install?

Also, patches go to [email protected], not yocto@.

Thanks,
Ross