diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2015-12-10 14:55:52 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2015-12-10 15:26:37 +0000 |
commit | da25dcf9e8bf5cf10e8434aa1b698496940831bb (patch) | |
tree | 8697d9f8d60384728a939673a95b579cd2a26c1b | |
parent | 76b4090e249479b6f41f89fad3c631fe55a5182b (diff) | |
download | genivi-demo-platform-hmi-jonathanmaw/system-bus.tar.gz |
Add busconf for the gdp-hmi-controllerjonathanmaw/system-bus
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | busconf/Makefile.am | 5 | ||||
-rw-r--r-- | busconf/org.genivi.gdp.hmi.controller.conf | 9 | ||||
-rw-r--r-- | configure.ac | 1 |
4 files changed, 16 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index bfaf940..d5d870a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,4 +13,4 @@ # List of changes: # 23.Jan.2015, Holger Behrens, written -SUBDIRS = doc protocol src +SUBDIRS = doc protocol src busconf diff --git a/busconf/Makefile.am b/busconf/Makefile.am new file mode 100644 index 0000000..9aee7af --- /dev/null +++ b/busconf/Makefile.am @@ -0,0 +1,5 @@ +gdp_hmi_controller_confdir = $(sysconfdir)/dbus-1/system.d + +gdp_hmi_controller_conf_DATA = org.genivi.gdp.hmi.controller.conf + +EXTRA_DIST = org.genivi.gdp.hmi.controller.conf diff --git a/busconf/org.genivi.gdp.hmi.controller.conf b/busconf/org.genivi.gdp.hmi.controller.conf new file mode 100644 index 0000000..6858782 --- /dev/null +++ b/busconf/org.genivi.gdp.hmi.controller.conf @@ -0,0 +1,9 @@ +<!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 own="org.genivi.gdp.hmi.controller"/> + <allow send_destination="org.genivi.gdp.hmi.controller" /> + <allow receive_sender="org.genivi.gdp.hmi.controller" /> + </policy> +</busconfig> diff --git a/configure.ac b/configure.ac index f0c7ba2..f892f6b 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,7 @@ AC_CONFIG_FILES([doc/doxygen/Makefile]) AC_CONFIG_FILES([protocol/Makefile]) AC_CONFIG_FILES([protocol/dbus/Makefile]) AC_CONFIG_FILES([src/Makefile]) +AC_CONFIG_FILES([busconf/Makefile]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR(src/gdp-hmi-controller.cpp) |