From ea2668203191fecd57e6d74623a1634c1ad6db9b Mon Sep 17 00:00:00 2001 From: Christopher Piparo Date: Mon, 11 Nov 2024 02:08:20 -0600 Subject: [PATCH 1/2] Fix bluez do_install postfuncs --- recipes-connectivity/bluez5/bluez5_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)} " From 7115703ae89c20f4bdba9203ec3e2acafcf7eb51 Mon Sep 17 00:00:00 2001 From: Christopher Piparo Date: Thu, 14 Nov 2024 23:56:57 -0600 Subject: [PATCH 2/2] Update bluetooth run script --- recipes-connectivity/bluez5/files/sv/bluetooth/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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