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/blacklist.json b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager/blacklist.json
new file mode 100644
index 0000000..29294ef
--- /dev/null
+++ b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager/blacklist.json
@@ -0,0 +1,3 @@
+{
+    "buses": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79]
+}
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
+}