summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-10-01 11:04:36 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 15:07:49 +0100
commit7cb07658d140203d628009433e2164867814d493 (patch)
treed878aaa3ea1f4a89df2ef95aefd36eab9c5b4950 /meta/recipes-connectivity/connman/connman
parentcdaa8fd9608d1c34a2e6c9f6d0c9dc6ced706859 (diff)
downloadpoky-7cb07658d140203d628009433e2164867814d493.tar.gz
xuser-account: Take over xuser specific D-Bus policy
Move connmans xuser-related D-Bus policy to a separate file that xuser-account installs: This way connman does not need to depend on xuser-account. Add policies for bluez and ofono in the same file. (From OE-Core rev: 9f37ce18b7d79135a67474187b6119980e0130ae) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman')
-rw-r--r--meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch b/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch
deleted file mode 100644
index 15a191da55..0000000000
--- a/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1Because Poky doesn't support at_console we need to
2special-case the session user.
3
4Upstream-Status: Inappropriate [configuration]
5
6Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
7
8---
9 src/connman-dbus.conf | 3 +++
10 vpn/vpn-dbus.conf | 3 +++
11 2 files changed, 6 insertions(+)
12
13diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf
14index 98a773e..466809c 100644
15--- a/src/connman-dbus.conf
16+++ b/src/connman-dbus.conf
17@@ -8,6 +8,9 @@
18 <allow send_interface="net.connman.Counter"/>
19 <allow send_interface="net.connman.Notification"/>
20 </policy>
21+ <policy user="xuser">
22+ <allow send_destination="net.connman"/>
23+ </policy>
24 <policy at_console="true">
25 <allow send_destination="net.connman"/>
26 </policy>
27diff --git a/vpn/vpn-dbus.conf b/vpn/vpn-dbus.conf
28index 0f0c8da..9ad05b9 100644
29--- a/vpn/vpn-dbus.conf
30+++ b/vpn/vpn-dbus.conf
31@@ -6,6 +6,9 @@
32 <allow send_destination="net.connman.vpn"/>
33 <allow send_interface="net.connman.vpn.Agent"/>
34 </policy>
35+ <policy user="xuser">
36+ <allow send_destination="net.connman.vpn"/>
37+ </policy>
38 <policy at_console="true">
39 <allow send_destination="net.connman.vpn"/>
40 </policy>
41--
422.1.4
43