Skip to contentSkip to conversation

layer.conf: add meta-virtualization to LAYERDEPENDS

PATCH In review [email protected] 2 participants 2 messages Dec 12, 2022 – Dec 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 layer.conf: add meta-virtualization to LAYERDEPENDS

From: Mingli Yu <[email protected]>

Fix the below yocto compliance issue, the libibverbs under
meta-virtualization provides virtual/libibverbs.
ERROR: Nothing PROVIDES 'virtual/libibverbs' (but /build/layers/meta-cloud-services/recipes-extended/glusterfs/glusterfs_6.1.bb DEPENDS on or otherwise requires it). Close matches:
virtual/libc
virtual/libiconv
virtual/librpc
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'glusterfs', 'virtual/libibverbs']

---
 conf/layer.conf | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
conf/layer.conf +5 -1
index dca6a109..e089b7d1 100644
@@ -8,4 +8,8 @@ BBFILE_COLLECTIONS += "cloud-services-layer"
 BBFILE_PATTERN_cloud-services-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_cloud-services-layer = "5"
 LAYERSERIES_COMPAT_cloud-services-layer = "langdale"
-LAYERDEPENDS_cloud-services-layer = "core filesystems-layer networking-layer"
+LAYERDEPENDS_cloud-services-layer = "core \
+    filesystems-layer \
+    networking-layer \
+    virtualization-layer \
+"
Signature · 1 line
2.25.1
#1 lore raw

I could have sworn that I already did this change .. but I can't find any record of it in my branches.

So I've gone ahead and merged the change.

Bruce

In message: [meta-cloud-services][PATCH] layer.conf: add meta-virtualization to LAYERDEPENDS

Quoted 33 lines · on 12/12/2022 [email protected] wrote:

From: Mingli Yu <[email protected]>

Fix the below yocto compliance issue, the libibverbs under
meta-virtualization provides virtual/libibverbs.
ERROR: Nothing PROVIDES 'virtual/libibverbs' (but /build/layers/meta-cloud-services/recipes-extended/glusterfs/glusterfs_6.1.bb DEPENDS on or otherwise requires it). Close matches:
virtual/libc
virtual/libiconv
virtual/librpc
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'glusterfs', 'virtual/libibverbs']

---
 conf/layer.conf | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
conf/layer.conf +5 -1
index dca6a109..e089b7d1 100644
@@ -8,4 +8,8 @@ BBFILE_COLLECTIONS += "cloud-services-layer"
 BBFILE_PATTERN_cloud-services-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_cloud-services-layer = "5"
 LAYERSERIES_COMPAT_cloud-services-layer = "langdale"
-LAYERDEPENDS_cloud-services-layer = "core filesystems-layer networking-layer"
+LAYERDEPENDS_cloud-services-layer = "core \
+    filesystems-layer \
+    networking-layer \
+    virtualization-layer \
+"
Signature · 1 line
2.25.1