From 3fe2e67bba940ae2c61754028593ede2d5f5f1a0 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 5 Sep 2017 16:35:08 -0500 Subject: open-vm-tools: only build if meta-networking and meta-filesystems is available libdnet - meta-networking fuse - meta-filesystems Signed-off-by: Mark Hatle --- meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-oe') 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 dc8faa4ead..81e8e96249 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.') +} + -- cgit 1.2.3-korg