[PATCH openbmc] Add build time dependencies to python for skeleton

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Jun 16 12:20:39 AEST 2016


From: Brad Bishop <bradleyb at fuzziesquirrel.com>

Skeleton now invokes python setuptools to install its python
applications in a top level makefile, so a build time dependency
on native-python is required.

It should be noted that skeleton invoking python from make is
an interim thing until its python applications get their own
repository.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 meta-phosphor/classes/config-in-skeleton.bbclass           | 2 ++
 meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-phosphor/classes/config-in-skeleton.bbclass b/meta-phosphor/classes/config-in-skeleton.bbclass
index 33266be..72249ff 100644
--- a/meta-phosphor/classes/config-in-skeleton.bbclass
+++ b/meta-phosphor/classes/config-in-skeleton.bbclass
@@ -3,7 +3,9 @@
 
 inherit allarch
 inherit setuptools
+inherit pythonnative
 
+DEPENDS += "python"
 SRC_URI += "git://github.com/openbmc/skeleton;subpath=configs"
 S = "${WORKDIR}/configs"
 
diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
index 9762792..4dc9dff 100644
--- a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
+++ b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
@@ -16,7 +16,7 @@ inherit python-dir
 
 VIRTUAL-RUNTIME_skeleton_workbook ?= ""
 
-DEPENDS += "glib-2.0 systemd"
+DEPENDS += "glib-2.0 systemd python"
 RDEPENDS_${PN} += "python-subprocess python-compression libsystemd ${VIRTUAL-RUNTIME_skeleton_workbook}"
 SRC_URI += "git://github.com/openbmc/skeleton"
 
-- 
2.8.4




More information about the openbmc mailing list