bluez: Disable printing subsystem rule
By default bluez allows the printing subsystem to communicate via dbus. This refers to the group lp which isn't available on OpenWrt and makes dbus fail to start. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
parent
48d5f1a591
commit
f1fddab924
2 changed files with 18 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=bluez
|
||||
PKG_VERSION:=5.49
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@KERNEL/linux/bluetooth/
|
||||
|
|
17
utils/bluez/patches/204-no-printing-subsystem.patch
Normal file
17
utils/bluez/patches/204-no-printing-subsystem.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/src/bluetooth.conf b/src/bluetooth.conf
|
||||
index 0c0b221..013cf97 100644
|
||||
--- a/src/bluetooth.conf
|
||||
+++ b/src/bluetooth.conf
|
||||
@@ -26,10 +26,10 @@
|
||||
</policy>
|
||||
|
||||
<!-- allow users of lp group (printing subsystem) to
|
||||
- communicate with bluetoothd -->
|
||||
+ communicate with bluetoothd
|
||||
<policy group="lp">
|
||||
<allow send_destination="org.bluez"/>
|
||||
- </policy>
|
||||
+ </policy> -->
|
||||
|
||||
<policy context="default">
|
||||
<deny send_destination="org.bluez"/>
|
Loading…
Reference in a new issue