[PATCH openbmc 6/6] Switch to per-application skeleton recipes
OpenBMC Patches
openbmc-patches at stwcx.xyz
Fri Jul 1 03:50:33 AEST 2016
From: Brad Bishop <bradleyb at fuzziesquirrel.com>
This patch switches the build to use the per-application
skeleton recipes added previously.
Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
.../common/recipes-phosphor/skeleton/skeleton.bb | 61 +++++++++-------------
.../skeleton/skeleton/skeleton.service | 12 -----
2 files changed, 25 insertions(+), 48 deletions(-)
delete mode 100644 meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
index 77a2980..f5c5fbf 100644
--- a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
+++ b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
@@ -3,47 +3,36 @@ DESCRIPTION = "Temp placeholder for skeleton repository"
HOMEPAGE = "http://github.com/openbmc/skeleton"
PR = "r1"
+inherit packagegroup
inherit obmc-phosphor-license
-inherit obmc-phosphor-systemd
+
inherit obmc-phosphor-chassis-mgmt
inherit obmc-phosphor-fan-mgmt
inherit obmc-phosphor-flash-mgmt
inherit obmc-phosphor-policy-mgmt
inherit obmc-phosphor-sensor-mgmt
inherit obmc-phosphor-system-mgmt
-inherit pythonnative
-inherit python-dir
-
-VIRTUAL-RUNTIME_skeleton_workbook ?= ""
-
-DEPENDS += "glib-2.0 systemd python"
-RDEPENDS_${PN} += "python-json python-subprocess python-compression libsystemd ${VIRTUAL-RUNTIME_skeleton_workbook}"
-SRC_URI += "git://github.com/openbmc/skeleton"
-
-FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/*"
-
-# RDEPEND on pflash if the openpower-pflash machine feature is set.
-PACKAGECONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'openpower-pflash', 'openpower-pflash', '', d)}"
-PACKAGECONFIG[openpower-pflash] = ",,,pflash"
-
-SRCREV = "fa8f6166a05410472e8a3ef6a2f2e3b9b5f8d8e4"
-
-S = "${WORKDIR}"
-
-# needed to invoke setuptools
-export STAGING_INCDIR
-export STAGING_LIBDIR
-export BUILD_SYS
-export HOST_SYS
-export PYTHON_SITEPACKAGES_DIR
-
-do_compile() {
- oe_runmake -C git PYTHON=${PYTHON}
-}
-do_install() {
- oe_runmake -C git install \
- PYTHON=${PYTHON} \
- DESTDIR=${D} \
- PREFIX=/usr
-}
+RDEPENDS_${PN} += " \
+ obmc-button-power \
+ obmc-button-reset \
+ obmc-control-chassis \
+ obmc-hostcheckstop \
+ obmc-mgr-inventory \
+ obmc-op-control-power \
+ obmc-pcie-detect \
+ obmc-watchdog \
+ obmc-pydevtools \
+ obmc-control-fan \
+ obmc-flash-bios \
+ obmc-flash-bmc \
+ obmc-mgr-download \
+ obmc-op-flasher \
+ obmc-op-control-host \
+ obmc-control-led \
+ obmc-hwmon \
+ obmc-mgr-sensor \
+ obmc-control-bmc \
+ obmc-mgr-state \
+ obmc-mgr-system \
+ "
diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
deleted file mode 100644
index 3a8e52e..0000000
--- a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Temp placeholder for skeleton function
-Requires=obmc-mapper.service
-After=obmc-mapper.service
-
-[Service]
-Restart=always
-ExecStart=/usr/sbin/system_manager.py
-Environment="PYTHONUNBUFFERED=1"
-
-[Install]
-WantedBy=multi-user.target
--
2.9.0
More information about the openbmc
mailing list