diff options
7 files changed, 12 insertions, 6 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-pydbus-service.bbclass b/meta-phosphor/classes/obmc-phosphor-pydbus-service.bbclass new file mode 100644 index 000000000..dc6f9e5ed --- /dev/null +++ b/meta-phosphor/classes/obmc-phosphor-pydbus-service.bbclass @@ -0,0 +1,6 @@ +# Common code for applications providing a D-Bus service using python-dbus bindings. + +# Class users should define DBUS_SERVICES prior to including. + +inherit obmc-phosphor-dbus-service +inherit obmc-phosphor-py-daemon diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/obmc-phosphor-chassisd.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/obmc-phosphor-chassisd.bb index 2ff0dcf3f..ad642a331 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/obmc-phosphor-chassisd.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/obmc-phosphor-chassisd.bb @@ -3,4 +3,4 @@ DESCRIPTION = "Phosphor OpenBMC chassis management reference implementation." PR = "r1" inherit obmc-phosphor-chassis-mgmt -inherit obmc-phosphor-py-daemon +inherit obmc-phosphor-pydbus-service diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-eventd.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-eventd.bb index 92b0ded89..998648c40 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-eventd.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-eventd.bb @@ -3,4 +3,4 @@ DESCRIPTION = "Phosphor OpenBMC event management reference implementation." PR = "r1" inherit obmc-phosphor-event-mgmt -inherit obmc-phosphor-py-daemon +inherit obmc-phosphor-pydbus-service diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/obmc-phosphor-flashd.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/obmc-phosphor-flashd.bb index 822101963..bd4b1af1f 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/obmc-phosphor-flashd.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/obmc-phosphor-flashd.bb @@ -3,4 +3,4 @@ DESCRIPTION = "Phosphor OpenBMC flash management reference implementation." PR = "r1" inherit obmc-phosphor-flash-mgmt -inherit obmc-phosphor-py-daemon +inherit obmc-phosphor-pydbus-service diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/obmc-phosphor-policyd.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/obmc-phosphor-policyd.bb index 6c8d6fce5..664760e12 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/obmc-phosphor-policyd.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/obmc-phosphor-policyd.bb @@ -3,4 +3,4 @@ DESCRIPTION = "Phosphor OpenBMC policy management reference implementation." PR = "r1" inherit obmc-phosphor-policy-mgmt -inherit obmc-phosphor-py-daemon +inherit obmc-phosphor-pydbus-service diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/obmc-phosphor-sensord.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/obmc-phosphor-sensord.bb index 382d055c6..fc646a52f 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/obmc-phosphor-sensord.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/obmc-phosphor-sensord.bb @@ -3,4 +3,4 @@ DESCRIPTION = "Phosphor OpenBMC sensor management reference implementation." PR = "r1" inherit obmc-phosphor-sensor-mgmt -inherit obmc-phosphor-py-daemon +inherit obmc-phosphor-pydbus-service diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/obmc-phosphor-sysd.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/obmc-phosphor-sysd.bb index 99927db95..3dc9a64e3 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/obmc-phosphor-sysd.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/obmc-phosphor-sysd.bb @@ -3,4 +3,4 @@ DESCRIPTION = "Phosphor OpenBMC system management reference implementation." PR = "r1" inherit obmc-phosphor-system-mgmt -inherit obmc-phosphor-py-daemon +inherit obmc-phosphor-pydbus-service |