[oe-commits] [meta-openembedded] 07/48: open-vm-tools: only build if meta-networking and meta-filesystems is available

git at git.openembedded.org git at git.openembedded.org
Wed Sep 13 09:11:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 25c94d71f581813b1f1cf7a9305dd61b28d69e21
Author: Mark Hatle <mark.hatle at windriver.com>
AuthorDate: Tue Sep 5 16:35:08 2017 -0500

    open-vm-tools: only build if meta-networking and meta-filesystems is available
    
    libdnet - meta-networking
    fuse - meta-filesystems
    
    Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
 meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb b/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
index dc8faa4..81e8e96 100644
--- a/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
+++ b/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
@@ -94,3 +94,10 @@ do_configure_prepend() {
     export CUSTOM_DNET_NAME=dnet
     export CUSTOM_DNET_LIBS=-L${STAGING_LIBDIR}/libdnet.so
 }
+
+python() {
+    if 'networking-layer' not in d.getVar('BBFILE_COLLECTIONS').split() or \
+	'filesystems-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
+        raise bb.parse.SkipRecipe('Requires meta-networking and meta-filesystems to be present.')
+}
+

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list