Add dependency to the chassis state service

On startup, the service attempts to read the PGOOD property
to know if the system is already on.  For that to work, the
org.openbmc.Control.Power service must already be running,
so ensure that is the case.

Having this check working right allows the code to know if
there was an AC loss while booted.

Resolves openbmc/openbmc#3266

Tested: Check that the service knows power is on when rebooted
        at runtime.

Change-Id: I1314865609ecdf3765603f8bd8ed1add6888e558
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: 5b6e8e56be8a995a9920f003380f5e3c54fab676
  1. aspeed-layer/
  2. classes/
  3. common/
  4. conf/
  5. nuvoton-layer/
  6. COPYING.apache-2.0
  7. COPYING.MIT
  8. LICENSE
  9. MAINTAINERS
  10. README.md
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.