diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-05-03 21:45:08 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-05-07 23:55:14 +0300 |
commit | 3672fb958f2c582e71980b8b42dc78c866eb1107 (patch) | |
tree | e7a423b2d05b463747421074bd641aa1b374487a /meta-ibm/meta-witherspoon/recipes-phosphor/inventory | |
parent | 923970fef4d69bfb274fd9cdc79d6a0fd5268a40 (diff) | |
download | openbmc-3672fb958f2c582e71980b8b42dc78c866eb1107.tar.xz |
wspoon: Add Chassis interface to the chassis
Tell phosphor-inventor-manager to create the
xyz.openbmc_project.Inventory.Item.Chassis interface on the
/system/chassis inventory item at startup.
(From meta-ibm rev: b6e3df22947fa563909d006afc95011a657f5383)
Change-Id: I3576bce35bb3f2687fcd135393dc9b28172dadb8
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/inventory')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml index cce8c9dcc..a363bda8d 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml @@ -36,3 +36,16 @@ events: - /system/chassis/motherboard/fan1/fan1_0 - /system/chassis/motherboard/fan1/fan1_1 - /system/chassis/motherboard/fan1 + + - name: Add Chassis interface + description: > + Add the chassis interface on the chassis inventory path + type: startup + actions: + - name: createObjects + objs: + /system/chassis: + xyz.openbmc_project.Inventory.Item.Chassis: + Type: + value: "RackMount" + type: string |