summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2015-09-25 10:23:09 -0400
committerPatrick Williams <patrick@stwcx.xyz>2015-09-29 13:58:54 -0500
commitef552f65c3d54126b5ecc813bdd7265ed8f33e4b (patch)
tree33d4c94337c0e0b0f7ac761842f3067bc018b8f1 /meta-phosphor/common
parentb413d571a0c3830112e13eb87a42964a34807a6f (diff)
downloadtalos-openbmc-ef552f65c3d54126b5ecc813bdd7265ed8f33e4b.tar.gz
talos-openbmc-ef552f65c3d54126b5ecc813bdd7265ed8f33e4b.zip
Open up DBUS permissions
Make wide open during prototyping phase. Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r--meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb12
-rw-r--r--meta-phosphor/common/recipes-phosphor/dbus-perms/files/org.openbmc.conf8
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb b/meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb
new file mode 100644
index 000000000..c7b788426
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Phosphor OpenBMC DBUS Permissions"
+DESCRIPTION = "Phosphor OpenBMC DBUS Permissions."
+HOMEPAGE = "http://github.com/openbmc/"
+PR = "r1"
+
+inherit allarch
+inherit obmc-phosphor-license
+inherit obmc-phosphor-dbus-service
+
+DBUS_SERVICES += " \
+ org.openbmc \
+ "
diff --git a/meta-phosphor/common/recipes-phosphor/dbus-perms/files/org.openbmc.conf b/meta-phosphor/common/recipes-phosphor/dbus-perms/files/org.openbmc.conf
new file mode 100644
index 000000000..b51293b19
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/dbus-perms/files/org.openbmc.conf
@@ -0,0 +1,8 @@
+<!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="*"/>
+ <allow send_destination="*"/>
+ </policy>
+</busconfig>
OpenPOWER on IntegriCloud