Move Jsons, services and rules to VPD repo
This commit moves Jsons, service files and rules to the VPD repo,
and installing it by meson.
Test: Tested the image on simics and a rainier system , booted to
standby succesfully.
Also, I verified all the jsons, rules and service files are in the
appropriate location.
Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
Change-Id: I538b7159e5226134c3e0d16bbb1686166cd17441
diff --git a/ibm_vpd/fru/50004000.json b/ibm_vpd/fru/50004000.json
new file mode 100644
index 0000000..3d43aca
--- /dev/null
+++ b/ibm_vpd/fru/50004000.json
@@ -0,0 +1,87 @@
+{
+ "commonInterfaces": {
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "PartNumber": {
+ "recordName": "VINI",
+ "keywordName": "PN"
+ },
+ "SerialNumber": {
+ "recordName": "VINI",
+ "keywordName": "SN"
+ },
+ "SparePartNumber": {
+ "recordName": "VINI",
+ "keywordName": "FN"
+ },
+ "Model": {
+ "recordName": "VINI",
+ "keywordName": "CC"
+ },
+ "BuildDate": {
+ "recordName": "VR10",
+ "keywordName": "DC",
+ "encoding": "DATE"
+ }
+ }
+ },
+ "frus": {
+ "/sys/bus/i2c/drivers/at24/8-0050/eeprom": [
+ {
+ "inventoryPath": "/system/chassis/motherboard",
+ "isSystemVpd": true,
+ "extraInterfaces": {
+ "xyz.openbmc_project.Inventory.Item.Board.Motherboard": null,
+ "com.ibm.ipzvpd.Location": {
+ "LocationCode": "Ufcs-P0"
+ },
+ "xyz.openbmc_project.Inventory.Item": {
+ "PrettyName": "System Backplane"
+ }
+ }
+ },
+ {
+ "inventoryPath": "/system",
+ "inherit": false,
+ "isSystemVpd": true,
+ "copyRecords": ["VSYS"],
+ "extraInterfaces": {
+ "xyz.openbmc_project.Inventory.Item.System": null,
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "SerialNumber": {
+ "recordName": "VSYS",
+ "keywordName": "SE"
+ },
+ "Model": {
+ "recordName": "VSYS",
+ "keywordName": "TM"
+ },
+ "SubModel": {
+ "recordName": "VSYS",
+ "keywordName": "BR"
+ }
+ },
+ "com.ibm.ipzvpd.Location": {
+ "LocationCode": "Umts"
+ },
+ "xyz.openbmc_project.Inventory.Item": {
+ "PrettyName": "System"
+ }
+ }
+ },
+ {
+ "inventoryPath": "/system/chassis",
+ "isSystemVpd": true,
+ "extraInterfaces": {
+ "xyz.openbmc_project.Inventory.Item.Chassis": null,
+ "xyz.openbmc_project.Inventory.Item.Global": null,
+ "com.ibm.ipzvpd.Location": {
+ "LocationCode": "Ufcs"
+ },
+ "xyz.openbmc_project.Inventory.Item": {
+ "PrettyName": "Chassis"
+ }
+ }
+ }
+ ]
+ }
+}