summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/entity-manager/blacklist.json3
-rw-r--r--meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/entity-manager_%.bbappend9
2 files changed, 12 insertions, 0 deletions
diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/entity-manager/blacklist.json b/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/entity-manager/blacklist.json
new file mode 100644
index 0000000000..5fa4180145
--- /dev/null
+++ b/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/entity-manager/blacklist.json
@@ -0,0 +1,3 @@
+{
+ "buses": [0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]
+}
diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/entity-manager_%.bbappend b/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/entity-manager_%.bbappend
new file mode 100644
index 0000000000..025d7c0282
--- /dev/null
+++ b/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/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
+}