meta-palmetto: Add inventory-cleanup.yaml

The yaml add the "xyz.openbmc_project.Inventory.Item.Chassis" interface
to "/xyz/openbmc_project/inventory/system/chassis" object.

This is needed for bmcweb to correctly get the chassis id in
/redfish/v1/Chassis/.

Tested: Verify that /redfish/v1/Chassis/chassis exists on Palmetto with
        this change. It was 404 without this change.

Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I89c698e53b5bcedbdbea1994599ae0ea3b3641b9
diff --git a/meta-palmetto/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml b/meta-palmetto/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml
new file mode 100644
index 0000000..8fbc381
--- /dev/null
+++ b/meta-palmetto/recipes-phosphor/inventory/inventory-cleanup/inventory-cleanup.yaml
@@ -0,0 +1,16 @@
+description: >
+    Palmetto 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