summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/conf/machine
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-02-05 10:10:44 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-02-16 23:10:40 +0000
commitba5ce786b6fa625218fd732d6a6f22a9d1cf9d97 (patch)
tree3aff11577e41eac2d79ee2c333c46db834f598a5 /meta-openbmc-machines/meta-openpower/conf/machine
parentcffe9a81f6ddbe8112019d0199b459d850a35fee (diff)
downloadtalos-openbmc-ba5ce786b6fa625218fd732d6a6f22a9d1cf9d97.tar.gz
talos-openbmc-ba5ce786b6fa625218fd732d6a6f22a9d1cf9d97.zip
Add virtual/openpower-fru-inventory
This virtual provides an environment file that serves as inventory configuration for openpower-vpd-parser. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Change-Id: I88c1d4123d73a5cdf37cba8efda40107f7b9ef25 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/conf/machine')
-rw-r--r--meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
index 72a0139f7..ed87ec807 100644
--- a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
+++ b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
@@ -21,3 +21,5 @@ PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= "obmc-op-control-host"
PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}"
PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "hostboot-inventory-config-native"
PREFERRED_PROVIDER_virtual/openpower-fru-vpd-layout ?= "openpower-fru-vpd-layout-native"
+PREFERRED_PROVIDER_virtual/openpower-fru-inventory ?= \
+ "${@cf_enabled(d, 'obmc-mrw', 'openpower-fru-inventory-mrw-native', 'openpower-fru-inventory-example-native')}"
OpenPOWER on IntegriCloud