aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/navigation')
-rw-r--r--recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf15
-rw-r--r--recipes-demo-hmi/navigation/navigation_git.bb6
2 files changed, 20 insertions, 1 deletions
diff --git a/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf b/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf
new file mode 100644
index 000000000..7f4d85f0d
--- /dev/null
+++ b/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/recipes-demo-hmi/navigation/navigation_git.bb b/recipes-demo-hmi/navigation/navigation_git.bb
index 822405e3d..9215e5554 100644
--- a/recipes-demo-hmi/navigation/navigation_git.bb
+++ b/recipes-demo-hmi/navigation/navigation_git.bb
@@ -18,10 +18,11 @@ RDEPENDS_${PN} = " flite openjtalk glib-2.0 freetype sqlite3 wayland zlib expat
RDEPENDS_${PN} += " agl-service-navigation "
-SRCREV="acbb9ea0678bd2f21f268000332a4786e87fb3f6"
+SRCREV="051e504db0e30d3160d63ef67b0225227e5da94d"
SRC_URI="git://github.com/AGLExport/gpsnavi.git;branch=agl \
file://download_mapdata_jp.sh \
file://download_mapdata_uk.sh \
+ file://org.agl.naviapi.conf \
"
RPROVIDES_${PN} = "virtual/navigation"
@@ -40,6 +41,9 @@ do_install_append() {
install -m 0755 ${WORKDIR}/download_mapdata_jp.sh ${D}/usr/AGL/apps/
install -m 0755 ${WORKDIR}/download_mapdata_uk.sh ${D}/usr/AGL/apps/
+ install -d ${D}/etc/dbus-1/session.d/
+ install -m 0644 ${WORKDIR}/org.agl.naviapi.conf ${D}/etc/dbus-1/session.d/
+
install -d ${D}/var/mapdata
}