commit | 31f20185c231ccab0d9faaa80b2281195066b1e5 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sun Jun 09 15:49:54 2019 -0400 |
committer | Brad Bishop <radsquirrel@gmail.com> | Thu Jun 13 13:12:13 2019 +0000 |
tree | 2fe6435d5bab44bd744381f5879d9992ca32646f | |
parent | d252fd06a3bd282e4c80a6c961070acc2bfb3242 [diff] |
meta-openpower: new YAML configuration recipe YAML configuration files exist scattered throughout the OpenBMC tree and how they are used is controlled with layers dependencies of virtuals and preferred providers. Most of the time the above scheme is very difficult to comprehend. This patch begins a re-thinking of that approach towards a more centralized scheme. Specifically, a number of YAML files that can be shared across OpenPOWER systems (in theory...in practice they are only used in the ACx22/Witherspoon layer) are copied (and run through pyyaml yaml.dump(yaml.load(fd)) for style purposes) to a single recipe: hostboot-inventory-config-native:config.yaml -> openpower-yaml-config:ipmi-hostboot-fru-mrw.yaml openpower-ipmi-oem-sensor-inventory-mrw:openpower-config.yaml -> openpower-yaml-config:ipmi-occ-active-sensor-mrw.yaml openpower-yaml-config:ipmi-hostboot-volatile-sensor-mrw.yaml phosphor-ipmi-fru-properties-mrw-native:config.yaml -> openpower-yaml-config:ipmi-fru-properties-mrw.yaml Notably these YAML files are installed to the target sysroot rather than the native sysroot, which enables MACHINE derived overrides. This new recipe enables the deprecation of: hostboot-inventory-config-native openpower-ipmi-oem-sensor-inventory-mrw-native phosphor-ipmi-fru-properties-mrw-native and all the virtuals and PREFERRED_PROVIDERS associated with those recipes, once any layers using these YAML configuration files are updated to obtain them via openpower-yaml-config. That will greatly reduce comprehensional complexity. Change-Id: I68c10698df9c8fc92cf906f1aec27b5b418c6173 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.