From ba5ce786b6fa625218fd732d6a6f22a9d1cf9d97 Mon Sep 17 00:00:00 2001 From: Deepak Kodihalli Date: Sun, 5 Feb 2017 10:10:44 -0600 Subject: 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 --- meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-openbmc-machines/meta-openpower/conf/machine') 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')}" -- cgit v1.2.1