diff --git a/recipes-connectivity/bluez5/bluez5_%.bbappend b/recipes-connectivity/bluez5/bluez5_%.bbappend index d4be904..004b93e 100644 --- a/recipes-connectivity/bluez5/bluez5_%.bbappend +++ b/recipes-connectivity/bluez5/bluez5_%.bbappend @@ -3,7 +3,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" # This is an annex of the original metadata. So, if you modify this file, bump # the number in this .bbappend to reflect the change and force a re-build. -PR =. "+runit-r1" +PR =. "+runit-r2" # Add the services set(s)... SRC_URI += " \ @@ -37,5 +37,5 @@ do_deletes() { rm -rvf ${D}/$DELETE done } -do_install[postfuncs] = " do_deletes " +do_install[postfuncs] += "${@bb.utils.contains('DISTRO_FEATURES', 'runit', 'do_deletes', '', d)} " diff --git a/recipes-connectivity/bluez5/files/sv/bluetooth/run b/recipes-connectivity/bluez5/files/sv/bluetooth/run index 6c946ae..5073eeb 100755 --- a/recipes-connectivity/bluez5/files/sv/bluetooth/run +++ b/recipes-connectivity/bluez5/files/sv/bluetooth/run @@ -1,4 +1,4 @@ #!/bin/sh -sv check messagebus > /dev/null || exit 1 -exec /usr/libexec/bluetooth/bluetoothd -n > /dev/null +sv check messagebus || exit 1 +exec /usr/libexec/bluetooth/bluetoothd -n 2>&1