diff options
Diffstat (limited to 'meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch')
-rw-r--r-- | meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch | 21 |
1 files changed, 21 insertions, 0 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 new file mode 100644 index 0000000000..707b3cafba --- /dev/null +++ b/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Because Poky doesn't support at_console we need to special-case the session | ||
2 | user. | ||
3 | |||
4 | Upstream-Status: Inappropriate [configuration] | ||
5 | |||
6 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
7 | |||
8 | diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf | ||
9 | index 98a773e..466809c 100644 | ||
10 | --- a/src/connman-dbus.conf | ||
11 | +++ b/src/connman-dbus.conf | ||
12 | @@ -8,6 +8,9 @@ | ||
13 | <allow send_interface="net.connman.Counter"/> | ||
14 | <allow send_interface="net.connman.Notification"/> | ||
15 | </policy> | ||
16 | + <policy user="xuser"> | ||
17 | + <allow send_destination="net.connman"/> | ||
18 | + </policy> | ||
19 | <policy at_console="true"> | ||
20 | <allow send_destination="net.connman"/> | ||
21 | </policy> | ||