From 0f6f87c60a6ffeff6b3f53d25f4023749103e262 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Thu, 1 Oct 2015 11:04:35 +0300 Subject: bluez5: Use upstream D-Bus policy The Bluez D-Bus policy is much too open and affects not just bluez but all system services: Use upstream policy configuration instead. This change has a chance of affecting other D-Bus services: the bug that is fixed here may have hidden problems in other policies. [YOCTO #8414] Signed-off-by: Jussi Kukkonen Signed-off-by: Richard Purdie --- meta/recipes-connectivity/bluez5/bluez5.inc | 5 ++--- meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf | 17 ----------------- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 039c44354e..df42c88b9d 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -18,7 +18,6 @@ PACKAGECONFIG[experimental] = "--enable-experimental,--disable-experimental," SRC_URI = "\ ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ - file://bluetooth.conf \ " S = "${WORKDIR}/bluez-${PV}" @@ -53,8 +52,8 @@ do_install_append() { if [ -f ${S}/profiles/input/input.conf ]; then install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/ fi - # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT - install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ + + install -m 0644 ${S}/src/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ # Install desired tools that upstream leaves in build area for f in ${NOINST_TOOLS} ; do diff --git a/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf b/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf deleted file mode 100644 index 26845bb73c..0000000000 --- a/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - -- cgit 1.2.3-korg