From bc7b654feecceee46bb11800b69994640d03b0ad Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 18 Dec 2019 16:39:38 +0200 Subject: [PATCH] pi-bluetooth: Runtime depends on udev-rules-rpi Add udev-rules-rpi as a runtime dependency. It brings udev rules for creating /dev/serial1. This way hciuart.service, provided by pi-bluetooth, will be successfully started because it depends on dev-serial1.device. As a result the Bluetooth module will be properly attached via UART HCI to BlueZ stack. Signed-off-by: Leon Anavi --- recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.12.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.12.bb b/recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.12.bb index e16ed17b1..2597e4bae 100644 --- a/recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.12.bb +++ b/recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.12.bb @@ -43,3 +43,7 @@ FILES_${PN} = "\ ${sysconfdir} \ ${systemd_unitdir}/system \ " + +RDEPENDS_${PN} += " \ + udev-rules-rpi \ +"