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>
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 b1208e5..da4fc8b 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 @@
DEPENDS = "sdbusplus \
phosphor-logging \
i2c-tools \
- boost"
+ boost \
+ nlohmann-json"
S = "${WORKDIR}/git/"
inherit cmake systemd
+FILES_${PN} += "/usr/share/ipmbbridge/ipmb-channels.json"