meta-fii/meta-kudo: fix sensors used by entity-manager
1. Fix sensors in kudo.json
a. Update FAN threshold
b. Change NBM name
c. Change NBM zone name
d. Add DIMMG as virtual sensors
e. Update DIMMG threshold
f. Update NBM threshold
2. Add black list to fix pmbus scan issue
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: Id2b781bcc5d2740cec3895ce3096ed793990707b
diff --git a/meta-fii/meta-kudo/recipes-phosphor/configuration/entity-manager_%.bbappend b/meta-fii/meta-kudo/recipes-phosphor/configuration/entity-manager_%.bbappend
index 58b52f5..7daa029 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/configuration/entity-manager_%.bbappend
+++ b/meta-fii/meta-kudo/recipes-phosphor/configuration/entity-manager_%.bbappend
@@ -1,7 +1,11 @@
FILESEXTRAPATHS_prepend_kudo := "${THISDIR}/${PN}:"
-SRC_URI_append_kudo = " file://kudo.json"
+SRC_URI_append_kudo = " \
+ file://kudo.json \
+ file://blacklist.json \
+ "
do_install_append_kudo () {
- install -m 0644 -D ${WORKDIR}/kudo.json ${D}/usr/share/entity-manager/configurations/kudo.json
+ install -m 0644 -D ${WORKDIR}/kudo.json ${D}${datadir}/${PN}/configurations/kudo.json
+ install -m 0644 -D ${WORKDIR}/blacklist.json ${D}${datadir}/${PN}/blacklist.json
}