Add virtual/openpower-fru-properties
This virtual provides an output file in YAML format, which has
property:value pairs for FRUs of interest.
Add a native recipe that extracts property values from the MRW. Set this
as the default for OpenPOWER systems.
Change-Id: Ib56d253aaceeb84bdb40381147915b3cfc80942a
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/classes/openpower-fru-vpd.bbclass b/meta-openbmc-machines/meta-openpower/classes/openpower-fru-vpd.bbclass
index e86a219..a97774e 100644
--- a/meta-openbmc-machines/meta-openpower/classes/openpower-fru-vpd.bbclass
+++ b/meta-openbmc-machines/meta-openpower/classes/openpower-fru-vpd.bbclass
@@ -2,3 +2,4 @@
inventory_datadir_name="/openpower-fru-inventory/inventory"
inventory_datadir_native="${datadir}${inventory_datadir_name}"
inventory_envdir="${envfiledir}/obmc"
+properties_datadir="${datadir}/openpower-fru-vpd/properties"