meta-ibm: system1: define blacklist for entity-manager
The only buses we should have EM look at are 0 and 6. I2C bus 6 has a
mux so we also need to look at the virtual bus 36 too. The virtual bus
is defined as an alias in the device tree, i.e. i2c36 = &i2c6mux0chn4;
This will have EM look at the backplane and op-panel seeproms.
Tested:
- Confirmed a lot less "fru-device" busy errors in the journal and that
the required eerpom's were still read.
Change-Id: I0f0695173eed10f7bf40970c5cdf3732d34e7671
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager_%.bbappend b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager_%.bbappend
new file mode 100644
index 0000000..025d7c0
--- /dev/null
+++ b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager_%.bbappend
@@ -0,0 +1,9 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI:append = " \
+ file://blacklist.json \
+ "
+
+do_install:append () {
+ install -m 0644 -D ${WORKDIR}/blacklist.json ${D}${datadir}/${PN}/blacklist.json
+}