Skip to contentSkip to conversation

layer.conf: match layer dependencies as documented in the layer README

PATCH In review Mark Asselstine 2 participants 2 messages May 23, 2018 – May 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 layer.conf: match layer dependencies as documented in the layer README

Several required layer dependencies have been added to the layer README but didn't have corresponding entries added to LAYERDEPENDS. Ensure these match.

The 'selinux' layer dependency, is conditional on the 'xen' DISTRO_FEATURE but I see no way to make a conditional LAYERDEPENDS so this is left off for now.

---
 conf/layer.conf | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
conf/layer.conf +7 -1
index fa2e015..eaef1b7 100644
@@ -15,7 +15,13 @@ LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
 # cause compatibility issues with other layers
 LAYERVERSION_virtualization-layer = "1"
 LAYERSERIES_COMPAT_virtualization-layer = "sumo"
-LAYERDEPENDS_virtualization-layer = "core networking-layer"
+LAYERDEPENDS_virtualization-layer = " \
+    core \
+    openembedded-layer \
+    networking-layer \
+    filesystems-layer \
+    meta-python \
+"
 
 # Override security flags
 require conf/distro/include/virt_security_flags.inc
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 41 lines · Mark Asselstine

Several required layer dependencies have been added to the layer README but didn't have corresponding entries added to LAYERDEPENDS. Ensure these match.

The 'selinux' layer dependency, is conditional on the 'xen' DISTRO_FEATURE but I see no way to make a conditional LAYERDEPENDS so this is left off for now.

---
 conf/layer.conf | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
conf/layer.conf +7 -2
index fa2e015..eaef1b7 100644
@@ -15,7 +15,13 @@ LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
 # cause compatibility issues with other layers
 LAYERVERSION_virtualization-layer = "1"
 LAYERSERIES_COMPAT_virtualization-layer = "sumo"
-LAYERDEPENDS_virtualization-layer = "core networking-layer"
+LAYERDEPENDS_virtualization-layer = " \
+    core \
+    openembedded-layer \
+    networking-layer \
+    filesystems-layer \
+    meta-python \
+"
 
 # Override security flags
 require conf/distro/include/virt_security_flags.inc
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"