Skip to contentSkip to conversation

layer.conf: handle dynamic layer configuration

PATCH In review Yen-Chin Lee 2 participants 3 messages Jan 27, 2015 – Feb 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 layer.conf: handle dynamic layer configuration

Using a separate layer specific directory as meta-fsl-arm does with qt5-layer, this will prevent meta-raspberrypi change layer dependencies when add qt5 packages.

patch is taken from:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/layer.conf#n20

---
 conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)
conf/layer.conf +4 -0
index 7bffd4b..71f22b4 100644
@@ -12,3 +12,7 @@ BBFILE_PRIORITY_raspberrypi = "6"
 # Additional license directories.
 LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
 
+# Let us add layer-specific bbappends which are only applied when that
+# layer is included in our configuration
+BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
+               for layer in BBFILE_COLLECTIONS.split())}"
Signature · 1 line
1.9.3 (Apple Git-50)
#1 lore raw

Hello,

Quoted 27 lines · Yen-Chin Lee

Using a separate layer specific directory as meta-fsl-arm does with qt5-layer, this will prevent meta-raspberrypi change layer dependencies when add qt5 packages.

patch is taken from:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/layer.conf#n20

---
 conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)
conf/layer.conf +4 -1
index 7bffd4b..71f22b4 100644
@@ -12,3 +12,7 @@ BBFILE_PRIORITY_raspberrypi = "6"
 # Additional license directories.
 LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
 
+# Let us add layer-specific bbappends which are only applied when that
+# layer is included in our configuration
+BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
+               for layer in BBFILE_COLLECTIONS.split())}"
--

1.9.3 (Apple Git-50)

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Thanks for your contribution but meta-raspberrypi uses the yocto mailinglist as stated in README. Please resend this patch accordingly.

Thanks a lot,

--
Andrei Gherzan

#2 lore raw

Ok, I'll resend these patches.

Quoted 39 lines · Andrei Gherzan

Hello,

Quoted 27 lines · Yen-Chin Lee

Using a separate layer specific directory as meta-fsl-arm does with qt5-layer, this will prevent meta-raspberrypi change layer dependencies when add qt5 packages.

patch is taken from:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/layer.conf#n20

---
 conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)
conf/layer.conf +4 -1
index 7bffd4b..71f22b4 100644
@@ -12,3 +12,7 @@ BBFILE_PRIORITY_raspberrypi = "6"
 # Additional license directories.
 LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
 
+# Let us add layer-specific bbappends which are only applied when that
+# layer is included in our configuration
+BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
+               for layer in BBFILE_COLLECTIONS.split())}"
--

1.9.3 (Apple Git-50)

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Thanks for your contribution but meta-raspberrypi uses the yocto mailinglist as stated in README. Please resend this patch accordingly.

Quoted 4 lines

Thanks a lot,

--
Andrei Gherzan

--