[PATCH openbmc v3 0/2] Add virtual workbook / config-in-skeleton classes
OpenBMC Patches
openbmc-patches at stwcx.xyz
Wed Jun 15 07:20:31 AEST 2016
This patch introduces a new abstraction 'obmc-phosphor-workbook'
for representing a system configuration. At present it is
pulled in by the skeleton recipe so the requirement on what is
implemented by a package providing obmc-phosphor-workbook is something
compatible with the existing System.py python modules in skeleton.
Additionally this patch adds a new recipe for each system using
a configuration file from skeleton today, and a class for common
configuration.
This enables a couple of things:
- No need to patch skeleton.service for each system.
- New systems don't have to put their configuration in the skeleton repository.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/openbmc/324)
<!-- Reviewable:end -->
https://github.com/openbmc/openbmc/pull/324
Brad Bishop (2):
Add OBMC_IMAGE_EXTRA_INSTALL variable
Add virtual workbook / config-in-skeleton classes
.../images/obmc-phosphor-image.bbappend | 4 +---
.../conf/machine/include/openpower.inc | 2 ++
.../recipes-phosphor/skeleton/skeleton.bbappend | 1 -
.../skeleton/skeleton/firestone.patch | 11 ---------
.../recipes-phosphor/workbook/firestone-config.bb | 8 +++++++
.../recipes-phosphor/skeleton/skeleton.bbappend | 1 -
.../skeleton/skeleton/garrison.patch | 11 ---------
.../recipes-phosphor/workbook/garrison-config.bb | 8 +++++++
.../recipes-phosphor/workbook/palmetto-config.bb | 8 +++++++
.../recipes-phosphor/skeleton/skeleton.bbappend | 2 --
.../skeleton/skeleton/skeleton.patch | 12 ----------
.../recipes-phosphor/workbook/barreleye-config.bb | 8 +++++++
meta-phosphor/classes/config-in-skeleton.bbclass | 28 ++++++++++++++++++++++
meta-phosphor/classes/obmc-phosphor-image.bbclass | 6 +++--
.../common/recipes-phosphor/skeleton/skeleton.bb | 25 ++++++++-----------
.../skeleton/skeleton/skeleton.service | 2 +-
.../conf/machine/include/obmc-bsp-common.inc | 2 +-
17 files changed, 79 insertions(+), 60 deletions(-)
delete mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/skeleton/skeleton/firestone.patch
create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/workbook/firestone-config.bb
delete mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/skeleton/skeleton/garrison.patch
create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/workbook/garrison-config.bb
create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/workbook/palmetto-config.bb
delete mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/skeleton/skeleton.bbappend
delete mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/skeleton/skeleton/skeleton.patch
create mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/workbook/barreleye-config.bb
create mode 100644 meta-phosphor/classes/config-in-skeleton.bbclass
--
2.8.4
More information about the openbmc
mailing list