summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-06-07 22:21:01 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-06-19 23:01:57 +0300
commit98b85c914433dbce2e2aa915c0ed649bff30a462 (patch)
tree9b086e67a455bdca566d2364d76dae0be07f5a2d /meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host
parent89ad9f366a1810d4c4d80e9073f4cd7426e764af (diff)
downloadopenbmc-98b85c914433dbce2e2aa915c0ed649bff30a462.tar.xz
meta-phosphor: ipmi: improve entity YAML selection
The existing scheme for selecting an entity configuration YAML for building ipmid consists of a virtual (phosphor-ipmi-entity-config) with the preferred provider set to a default recipe (phosphor-ipmi-entity-inventory-native) in the Phosphor distro configuration. Instead, provide a reasonable default directly in the ipmid metadata. This is a small step towards enabling ipmid to build without any distro configuration and should lower the effort required (slightly) to comprehend where the the entity YAML file is coming from. There aren't any known clients overriding the entity YAML in the first place, but a client could still override with an ipmid bbappend and setting EXTRA_OECONF appropriately. (From meta-phosphor rev: fe88ee4211c93f4ca4acba5ecec502aef17944ce) Change-Id: Ie152c413ee6674735b6bf3192b01ec0bc5a39a29 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host')
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/entity.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/entity.yaml b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/entity.yaml
new file mode 100644
index 000000000..f41c2fda6
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/entity.yaml
@@ -0,0 +1,13 @@
+0x01:
+ containerEntityId: 0x1E
+ containerEntityInstance: 0x1
+ isList: "true"
+ isLinked: "false"
+ entityId1: 0x03
+ entityInstance1: 0x1
+ entityId2: 0x04
+ entityInstance2: 0x1
+ entityId3: 0x00
+ entityInstance3: 0x00
+ entityId4: 0x00
+ entityInstance4: 0x00