From 65b40a80454bc22d0e4e1f4fafcd43d33a7167b8 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Thu, 9 Jun 2016 22:22:46 -0400 Subject: Add virtual workbook / config-in-skeleton classes This patch introduces a new abstraction 'skeleton-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. Signed-off-by: Brad Bishop --- meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-openbmc-machines/meta-openpower/conf') 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 6660a56a4..2ef42ed47 100644 --- a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc +++ b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc @@ -23,6 +23,8 @@ VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers = " \ host-ipmid-oem \ host-ipmid-fru \ " +VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config" + PREFERRED_PROVIDER_virtual/obmc-phosphor-host-ipmi-hw = "btbridged" PREFERRED_PROVIDER_virtual/obmc-phosphor-chassis-mgmt = "skeleton" PREFERRED_PROVIDER_virtual/obmc-phosphor-event-mgmt = "obmc-phosphor-event" -- cgit v1.2.1