summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/ipmi
diff options
context:
space:
mode:
authorAmithash Prasad <amithash@fb.com>2019-05-03 22:42:30 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-10 15:28:10 +0300
commitd87816472c862598587d1fb6452a563f92a423d5 (patch)
tree918cfc4293dd54504cd332f3a65f12a075d96911 /meta-phosphor/recipes-phosphor/ipmi
parentda96cd2c1799882e768f5ef31df42a461316fa3d (diff)
downloadopenbmc-d87816472c862598587d1fb6452a563f92a423d5.tar.xz
Read channel configuration from JSON file
Add ipmb-channels.json as one of the files installed by the recipe along with the new dependence on json parsing library. (From meta-phosphor rev: 7fae19920d69034c6fda91615e85c2b64cf0236d) Change-Id: I623001bbd55deb85552ca5baa990542b7b289cd7 Signed-off-by: Amithash Prasad <amithash@fb.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/ipmi')
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb
index b1208e5a5..da4fc8b6e 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb
@@ -14,7 +14,9 @@ SYSTEMD_SERVICE_${PN} = "ipmb.service"
DEPENDS = "sdbusplus \
phosphor-logging \
i2c-tools \
- boost"
+ boost \
+ nlohmann-json"
S = "${WORKDIR}/git/"
inherit cmake systemd
+FILES_${PN} += "/usr/share/ipmbbridge/ipmb-channels.json"