Skip to contentSkip to conversation

meta-initramfs: append to BBPATH instead of prepend so order of bblayers.conf is respected

PATCH In review Martin Jansa 2 participants 3 messages May 23, 2012 – Jun 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-initramfs: append to BBPATH instead of prepend so order of bblayers.conf is respected

---
 meta-initramfs/conf/layer.conf |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
meta-initramfs/conf/layer.conf +8 -3
index 469cde5..cc78c1a 100644
@@ -1,11 +1,16 @@
 # Layer configuration for meta-initramfs layer
 
-# We have a conf and classes directory, prepend to BBPATH to prefer our versions
-BBPATH := "${LAYERDIR}:${BBPATH}"
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
 
 # We have a recipes directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "meta-initramfs"
 BBFILE_PATTERN_meta-initramfs := "^${LAYERDIR}/"
+
+# Define the priority for recipes (.bb files) from this layer,
+# choosing carefully how this layer interacts with all of the
+# other layers.
+
 BBFILE_PRIORITY_meta-initramfs = "8"
Signature · 1 line
1.7.8.6
#1 lore raw
Quoted 1 line · Martin Jansa

ping

Quoted 31 lines
---
 meta-initramfs/conf/layer.conf |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
meta-initramfs/conf/layer.conf +8 -3
index 469cde5..cc78c1a 100644
@@ -1,11 +1,16 @@
 # Layer configuration for meta-initramfs layer
 
-# We have a conf and classes directory, prepend to BBPATH to prefer our versions
-BBPATH := "${LAYERDIR}:${BBPATH}"
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
 
 # We have a recipes directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "meta-initramfs"
 BBFILE_PATTERN_meta-initramfs := "^${LAYERDIR}/"
+
+# Define the priority for recipes (.bb files) from this layer,
+# choosing carefully how this layer interacts with all of the
+# other layers.
+
 BBFILE_PRIORITY_meta-initramfs = "8"
Signature · 1 line
1.7.8.6
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Acked-by
#2 lore raw
Quoted 40 lines · Martin Jansa
Quoted 1 line · Martin Jansa

ping

Quoted 27 lines

---
 meta-initramfs/conf/layer.conf |   11 ++++++++---

 1 files changed, 8 insertions(+), 3 deletions(-)
meta-initramfs/conf/layer.conf +3 -3
index 469cde5..cc78c1a 100644
@@ -1,11 +1,16 @@
  # Layer configuration for meta-initramfs layer
 
-# We have a conf and classes directory, prepend to BBPATH to prefer our versions
-BBPATH := "${LAYERDIR}:${BBPATH}"
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
 
  # We have a recipes directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 

 BBFILE_COLLECTIONS += "meta-initramfs"
 BBFILE_PATTERN_meta-initramfs := "^${LAYERDIR}/"

meta-initramfs/conf/layer.conf +5 -0
+
+# Define the priority for recipes (.bb files) from this layer,
+# choosing carefully how this layer interacts with all of the
+# other layers.
+
Quoted 4 lines

 BBFILE_PRIORITY_meta-initramfs = "8"
--
1.7.8.6

--
Martin 'JaMa' Jansa     jabber: [email protected]

Quoted 5 lines

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

Bump?