summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/inventory/gbs-inventory-cleanup
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2021-03-17 14:32:39 +0300
committerGeorge Hung <george.hung@quantatw.com>2021-03-19 05:31:51 +0300
commit8b0980e38dd7631f08d4aea9cc19bca650df3772 (patch)
treed6dc7153df47df28949f18b4992253f3e98c9ea5 /meta-quanta/meta-gbs/recipes-phosphor/inventory/gbs-inventory-cleanup
parent1019776111e455077be02bcfb381873c5749e55f (diff)
downloadopenbmc-8b0980e38dd7631f08d4aea9cc19bca650df3772.tar.xz
meta-quanta: gbs: rename to gbs-inventory-cleanup
Use a unique name for this recipe so it won't conflict Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ie2d5d71a73288ad7b6d1d35812cb8bfc7a11e5ae
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/inventory/gbs-inventory-cleanup')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/inventory/gbs-inventory-cleanup/inventory-cleanup.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/inventory/gbs-inventory-cleanup/inventory-cleanup.yaml b/meta-quanta/meta-gbs/recipes-phosphor/inventory/gbs-inventory-cleanup/inventory-cleanup.yaml
new file mode 100644
index 000000000..78e03fee0
--- /dev/null
+++ b/meta-quanta/meta-gbs/recipes-phosphor/inventory/gbs-inventory-cleanup/inventory-cleanup.yaml
@@ -0,0 +1,16 @@
+description: >
+ GBS inventory fixups
+
+events:
+ - 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