Install phosphor-fan-control app and service
Also move the fan presence and fan control services
into obmc-power-chassis-on.target so they start as
soon as power comes on so it covers cases when the
boot stops at obmc-chassis-poweron.target.
Resolves openbmc/openbmc#1445
Change-Id: Idc271a2d770d85bc1a4d51d8d1473ca8d0c73889
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index 4c116ff..1bdb0f4 100644
--- a/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -52,6 +52,7 @@
# be added those respective package groups instead.
SUMMARY_${PN}-fan-control = "Fan control"
RDEPENDS_${PN}-fan-control = " \
+ ${VIRTUAL-RUNTIME_obmc-fan-control} \
"
SUMMARY_${PN}-host-state-mgmt = "Host state management"