summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/phosphor-fan.bbclass
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-04-18 00:24:12 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-05-06 02:26:07 +0300
commitc7b071c9f765d94ef69debfbecb2ff649311dccf (patch)
treec921c9d49003f897cfaeb0c35bf906741f84f0cd /meta-phosphor/classes/phosphor-fan.bbclass
parentb74ceea5375a932be18583bd4c095bd9ec667826 (diff)
downloadopenbmc-c7b071c9f765d94ef69debfbecb2ff649311dccf.tar.xz
Recipes for installing fan zone yaml
Provides the virtual/phosphor-fan-control-zone-config virtual. By default, it will install an empty zones.yaml file into the directory needed by the phosphor-fan-control compile. To provide a system specific fan zone yaml, put one in that system's layer and install it with a .bbappend, which is what is being done in this commit for Witherspoon. Change-Id: Ie58fc9eb7b39cecffa39905266542bae16c0f977 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-phosphor/classes/phosphor-fan.bbclass')
-rw-r--r--meta-phosphor/classes/phosphor-fan.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/classes/phosphor-fan.bbclass b/meta-phosphor/classes/phosphor-fan.bbclass
index b59f1f567..198b29280 100644
--- a/meta-phosphor/classes/phosphor-fan.bbclass
+++ b/meta-phosphor/classes/phosphor-fan.bbclass
@@ -1 +1,2 @@
presence_datadir="${datadir}/phosphor-fan-presence"
+control_datadir="${datadir}/phosphor-fan-control"