commit | 8ffb402ac41c87b3b78c72d979168b0a2ada5fb5 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jul 13 17:56:34 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Jul 28 14:35:37 2016 -0400 |
tree | 4e14a4815fe80a57ef202d7994f8e841686dbad7 | |
parent | 49a7698af82650ce5dd87bb4e52d20e0d209d022 [diff] |
classes-dbus: General refactoring Take the more idiomatic approach of iterating on DBUS_PACKAGES to find files. Change-Id: I7656316b839f666bd1b25b757bef2c14a2cee326 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb b/meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb index c7b7884..c929d74 100644 --- a/meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb +++ b/meta-phosphor/common/recipes-phosphor/dbus-perms/dbus-perms.bb
@@ -7,6 +7,4 @@ inherit obmc-phosphor-license inherit obmc-phosphor-dbus-service -DBUS_SERVICES += " \ - org.openbmc \ - " +DBUS_SERVICE_${PN} += "org.openbmc"
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper.bb b/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper.bb index 3c3208d..12e5474 100644 --- a/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper.bb +++ b/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper.bb
@@ -10,7 +10,7 @@ inherit obmc-phosphor-systemd inherit setuptools -DBUS_SERVICES += "org.openbmc.ObjectMapper" +DBUS_SERVICE_${PN} += "org.openbmc.ObjectMapper" RDEPENDS_${PN} += " \ python-xml \ python-dbus \
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/obmc-phosphor-example-pydbus.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/obmc-phosphor-example-pydbus.bb index 57e27cf..7e3e907 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/obmc-phosphor-example-pydbus.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/obmc-phosphor-example-pydbus.bb
@@ -2,9 +2,7 @@ DESCRIPTION = "Phosphor OpenBMC QEMU BSP example implementation." PR = "r1" -DBUS_SERVICES = " \ - org.openbmc.examples.PythonService \ - " +DBUS_SERVICE_${PN} += "org.openbmc.examples.PythonService" inherit obmc-phosphor-pydbus-service
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/obmc-phosphor-example-sdbus.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/obmc-phosphor-example-sdbus.bb index 9a3018d..541aa79 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/obmc-phosphor-example-sdbus.bb +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/obmc-phosphor-example-sdbus.bb
@@ -2,9 +2,7 @@ DESCRIPTION = "Phosphor OpenBMC QEMU BSP example implementation." PR = "r1" -DBUS_SERVICES = " \ - org.openbmc.examples.SDBusService \ - " +DBUS_SERVICE_${PN} += "org.openbmc.examples.SDBusService" S = "${WORKDIR}" SRC_URI += "file://Makefile \