summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
diff options
context:
space:
mode:
authorBrandon Kim <brandonkim@google.com>2020-08-14 00:51:02 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2020-08-14 17:11:45 +0300
commit627e5cd6775ff574c6b995f41d3ac17a9137943a (patch)
tree965bc57d0620fe8bf9504b228986161dd062fa90 /meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
parent15a8b0e39a5f4a52702a57fe6df48dc1dd45d812 (diff)
downloadopenbmc-627e5cd6775ff574c6b995f41d3ac17a9137943a.tar.xz
meta-phosphor: Add back configs for phosphor-pid-control
Necessary configurations that were in classes/phosphor-pid-control.bbclass was dropped by 5f04ec5f04a797805afe2ac14a90c294a906ca6e. Append the config back to phosphor-pid-control.bb (From meta-phosphor rev: db34efb2d7df34092d2ac21f16d379efcdc55f07) Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I54623ed0217fa4e04aed12157b74bef59645a9fa Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb')
-rw-r--r--meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb b/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
index 6e242ae24..501a803d3 100644
--- a/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
+++ b/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
@@ -49,3 +49,8 @@ FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}"
FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la"
HOSTIPMI_PROVIDER_LIBRARY += "libmanualcmds.so"
+
+config_datadir="${datadir}/swampd/"
+# config_path is the location swampd expects to find a json configuration.
+# the file is expected to be named config.json
+config_path="${config_datadir}config.json"