commit | 26faac974012bed17ca31f2078df7f5289e63fef | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Sun Jan 28 19:48:02 2018 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Feb 13 00:23:04 2018 +0000 |
tree | 063e30b6f5eab943b9e3d112a067ad52a9863b64 | |
parent | b547eff26d1c834453dccce8b5d1339eb233a41a [diff] |
Add "after" PowerSupplyRedundancy mapper object The org.openbmc.Sensors.service reads the value of /xyz/openbmc_project/control/power_supply_redundancy when starting to determine the value of /xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy. This happens in sensors.py. Change-Id: If594a4986ebffd0811a8a76002739bd0022ca767 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service b/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service index b9da01e..cc59338 100644 --- a/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service +++ b/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
@@ -1,5 +1,7 @@ [Unit] Description=Phosphor Sensor Manager +Wants=mapper-wait@-xyz-openbmc_project-control-power_supply_redundancy.service +After=mapper-wait@-xyz-openbmc_project-control-power_supply_redundancy.service [Service] Restart=always