diff mbox series

[meta-networking,1/2] open-vm-tools: Check for meta-filesystems via LAYERDIR

Message ID 20261118123038.908150-1-leon.anavi@konsulko.com
State New
Headers show
Series [meta-networking,1/2] open-vm-tools: Check for meta-filesystems via LAYERDIR | expand

Commit Message

Leon Anavi Nov. 18, 2026, 12:30 p.m. UTC
Bitbake no longer sets BBFILE_COLLECTIONS with the new layer
format, so parsing failed with:

AttributeError: 'NoneType' object has no attribute 'split'

Check LAYERDIR_meta-oe-filesystems instead, which bitbake sets for
every configured layer.

This changes is requreid because of patch: "layers: Migrate to new
layer format" from meta-openembedded and the patch "cooker: Change
layer.conf handling to new approach" from bitbake that sets
LAYERDIR_<layername> variables.

AI-Generated: Uses Claude Code
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb
index 5739c05d72..b9823af891 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb
@@ -117,7 +117,7 @@  INITSCRIPT_NAME:${PN} = "vmtoolsd"
 INITSCRIPT_PARAMS:${PN} = "start 90 2 3 4 5 . stop 60 0 1 6 ."
 
 python() {
-    if 'filesystems-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
+    if not d.getVar('LAYERDIR_meta-oe-filesystems'):
         raise bb.parse.SkipRecipe('Requires meta-filesystems to be present to provide fuse.')
 }