From 627e5cd6775ff574c6b995f41d3ac17a9137943a Mon Sep 17 00:00:00 2001 From: Brandon Kim Date: Thu, 13 Aug 2020 14:51:02 -0700 Subject: 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 Change-Id: I54623ed0217fa4e04aed12157b74bef59645a9fa Signed-off-by: Brad Bishop --- meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit v1.2.3