Skip to contentSkip to conversation

open-vm-tools: Check for meta-filesystems via LAYERDIR

PATCH New Leon Anavi 1 participant 2 messages Nov 18

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 open-vm-tools: Check for meta-filesystems via LAYERDIR

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

---
 .../recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb +1 -1
index 5739c05d72..b9823af891 100644
@@ -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.')
 }
 
Signature · 1 line
2.47.3
author
#1 lore raw

PATCH 2/2 meta-networking: README.md: Contributing

Add a new section "Contributing" with a similar text as for layer meta-python, including a git send-email example.

---
 meta-networking/README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
meta-networking/README.md +14 -0
index f8337b0c5b..b6c4e98063 100644
@@ -30,6 +30,20 @@
 subdirectory: meta-python
 branch: master
 
+Contributing
+-------------------------
+
+The meta-openembedded mailing list
+([email protected]) is used for questions,
+comments and patch review. It is subscriber only, so please register
+before posting.
+
+Send pull requests to [email protected] with
+'[meta-networking]' in the subject.
+
+When sending single patches, please use something like:
+git send-email -M30% -C --find-copies-harder -1 [email protected] --subject-prefix='meta-networking][PATCH'
+
 Maintenance
 -----------
 Layer maintainers: Khem Raj <[email protected]>
Signature · 1 line
2.47.3