Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/recipes-core/packagegroups/ti-test.bb | 2 +-
 meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb  | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb 
b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
index 7dc1fe4..a266e26 100644
--- a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
@@ -29,7 +29,7 @@ ARAGO_TEST = "\
     procps \
     mtd-utils-ubifs-tests \
     pcitest \
-    mstpd \
+    ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "mstpd", "", 
d)} \
     fio \
     git \
 "
diff --git a/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb 
b/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb
index eeeeb82..db8f08c 100644
--- a/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb
+++ b/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb
@@ -18,3 +18,8 @@ RDEPENDS_${PN} = "python-core"
 inherit autotools
 
 EXTRA_OECONF = "--sbindir=/sbin"
+
+python() {
+    if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
+        raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
+}
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to