diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2017-04-11 11:06:59 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-05-25 04:22:57 +0000 |
commit | fcaf72e102830f0be043b58edea60fbb40f3bd73 (patch) | |
tree | 1de2d6ad8e2c08d15f8781e182cc53e60fe77503 /meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb | |
parent | e35e6203f68f661f7f785f54e257095cbbca8908 (diff) | |
download | talos-openbmc-fcaf72e102830f0be043b58edea60fbb40f3bd73.tar.gz talos-openbmc-fcaf72e102830f0be043b58edea60fbb40f3bd73.zip |
Block host power on when ActivationBlocksTransition exists
Add a dependency to the power on target so that it waits to
start until the ActivationBlocksTransition interface is not
present on any of the Software subtrees, which would indicate
that a code update is in progress.
Closes openbmc/openbmc#1344
Change-Id: I926d209ce4d3106e09e35a35c1e9cfde1ec2f613
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb index 6131bc389..b0666043c 100644 --- a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb +++ b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb @@ -14,7 +14,10 @@ DEPENDS += "systemd" DEPENDS += "autoconf-archive-native" DBUS_SERVICE_${PN} += "xyz.openbmc_project.ObjectMapper.service" -SYSTEMD_SERVICE_${PN} = "mapper-wait@.service mapper-wait-until-removed@.service" +SYSTEMD_SERVICE_${PN} += " \ + mapper-wait@.service \ + mapper-subtree-remove@.service \ + " RDEPENDS_libmapper += "libsystemd" RDEPENDS_${PN} += " \ python-xml \ |