summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-04-11 22:12:56 -0400
committerPatrick Williams <patrick@stwcx.xyz>2017-04-17 18:31:16 +0000
commitd4c38485c92b4f8425f0beee869d7a0eb6d940c8 (patch)
tree6102a4318d7ded3389503fe68770796b8b238253 /meta-phosphor
parentf15b1e24c6ee7a310630883bb15c3d606d3efb6b (diff)
downloadtalos-openbmc-d4c38485c92b4f8425f0beee869d7a0eb6d940c8.tar.gz
talos-openbmc-d4c38485c92b4f8425f0beee869d7a0eb6d940c8.zip
Add stub for phosphor-chassis-cooling-type
Add a stub recipe for this package under development. Add the libev package to all images via runtime dependency. Change-Id: I59ed1a556f08979a70d506d38a9bf267c3e9a220 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence.bb10
-rw-r--r--meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb1
2 files changed, 9 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence.bb b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence.bb
index 62b680a45..a064cf1b0 100644
--- a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence.bb
+++ b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence.bb
@@ -22,12 +22,18 @@ FAN_PRESENCE_PACKAGES = " \
${PN}-tach \
"
PACKAGES_remove = "${PN}"
-PACKAGES += "${FAN_PRESENCE_PACKAGES}"
+PACKAGES += "${FAN_PRESENCE_PACKAGES} phosphor-chassis-cooling-type"
+
+# Remove when this package has content
+ALLOW_EMPTY_phosphor-chassis-cooling-type = "1"
+
SYSTEMD_PACKAGES = "${FAN_PRESENCE_PACKAGES}"
-RDEPENDS_${PN}-dev = "${FAN_PRESENCE_PACKAGES}"
+RDEPENDS_${PN}-dev = "${FAN_PRESENCE_PACKAGES} phosphor-chassis-cooling-type"
RDEPENDS_${PN}-tach += "sdbusplus"
+RDEPENDS_phosphor-chassis-cooling-type += "libevdev"
+
# Needed to install into the obmc-chassis-start target
TMPL = "phosphor-fan-presence-tach@.service"
INSTFMT = "phosphor-fan-presence-tach@{0}.service"
diff --git a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index f55f98488..a0415e077 100644
--- a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -47,6 +47,7 @@ SUMMARY_${PN}-inventory = "Inventory applications"
RDEPENDS_${PN}-inventory = " \
${VIRTUAL-RUNTIME_obmc-inventory-manager} \
${VIRTUAL-RUNTIME_obmc-fan-presence} \
+ phosphor-chassis-cooling-type \
"
SUMMARY_${PN}-leds = "LED applications"
OpenPOWER on IntegriCloud