diff options
author | Brad Bishop <bradleyb@us.ibm.com> | 2015-09-22 00:19:05 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@us.ibm.com> | 2015-09-22 00:20:43 +0300 |
commit | 5a277f9fb98b8f41aec8a44ca1887cd887286610 (patch) | |
tree | 7fffd45a7057c011c00496f12b03b4efdcae873d /meta-phosphor/classes | |
parent | 43b381cf211aa02d039a3c6f775d3ae3f1e3d7f5 (diff) | |
download | openbmc-5a277f9fb98b8f41aec8a44ca1887cd887286610.tar.xz |
Added sd-bus service example
Added obmc-phosphor-example-sdbus.
Added sdbus-service class for common logic.
Diffstat (limited to 'meta-phosphor/classes')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-sdbus-service.bbclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-sdbus-service.bbclass b/meta-phosphor/classes/obmc-phosphor-sdbus-service.bbclass new file mode 100644 index 000000000..8a9853c6a --- /dev/null +++ b/meta-phosphor/classes/obmc-phosphor-sdbus-service.bbclass @@ -0,0 +1,9 @@ +# Common code for applications providing a D-Bus service using sd-bus bindings. + +# Class users should define DBUS_SERVICES prior to including. + +DEPENDS += "systemd" +RDEPENDS_${PN} += "libsystemd" + +inherit obmc-phosphor-dbus-service +inherit obmc-phosphor-c-daemon |