diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-12-17 23:15:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2017-12-17 23:15:17 +0000 |
commit | 619461d0675633dc21a1add5b7c0533b5b20e3a7 (patch) | |
tree | c69d5e28b9f73faa41b2c70650efdfab728ea339 /meta-hmi-framework | |
parent | 9c4fa65cafaa8ba72f8589525c05bd0b61cfc219 (diff) | |
parent | 5ad366d1a4239951180237452bbd58093f5112ca (diff) |
Merge "Add D-Bus configuration of navigation service" into eel
Diffstat (limited to 'meta-hmi-framework')
-rw-r--r-- | meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf | 15 | ||||
-rw-r--r--[-rwxr-xr-x] | meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend | 4 |
2 files changed, 18 insertions, 1 deletions
diff --git a/meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf new file mode 100644 index 00000000..7f4d85f0 --- /dev/null +++ b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf @@ -0,0 +1,15 @@ +<!DOCTYPE busconfig PUBLIC +"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy context="default"> + <!-- Allow everyone to talk to main service. We'll later add an agent to + only share the location if user allows it. --> + <allow send_interface="org.agl.naviapi"/> + </policy> + + <policy user="root"> + <!-- Allow root to own the name on the bus --> + <allow own="org.agl.naviapi"/> + </policy> +</busconfig> diff --git a/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend index f0785935..a91b6c2f 100755..100644 --- a/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend +++ b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend @@ -1,10 +1,12 @@ # AGL HMI Framework adaptation of navigation # This recipe is integrated into navigation_git.bb when the meta-hmi-framework is integrated into meta-agl-demo. +FILESEXTRAPATHS_prepend := "${THISDIR}/navigation:" -SRCREV = "${AUTOREV}" +SRCREV = "c246330234db52352c046a7bc1f936d1d52d0e69" SRC_URI="git://github.com/AGLExport/gpsnavi.git;branch=newwm2 \ file://download_mapdata_jp.sh \ file://download_mapdata_uk.sh \ + file://org.agl.naviapi.conf \ " DEPENDS_append = " af-binder libwindowmanager virtual/libhomescreen " |