meta-networking: Add LAYERVERSION and LAYERDEPENDS
PATCH 1/1 meta-networking: Add LAYERVERSION and LAYERDEPENDS
From: Wenzong Fan <[email protected]>
Add LAYERVERSION and LAYERDEPENDS to layer.conf
--- meta-networking/conf/layer.conf | 5 +++++ 1 file changed, 5 insertions(+)
meta-networking/conf/layer.conf +5 -0
@@ -9,3 +9,8 @@ BBFILE_COLLECTIONS += "networking" BBFILE_PATTERN_networking := "^${LAYERDIR}/" BBFILE_PRIORITY_networking = "5" +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_networking = "1" + +LAYERDEPENDS_networking = "core"
Signature · 1 line
1.7.10.4
Quoted 14 lines · On Monday 11 March 2013 17:38:39 [email protected] wrote:
From: Wenzong Fan <[email protected]>
Add LAYERVERSION and LAYERDEPENDS to layer.conf
Signed-off-by Wenzong Fan <[email protected]>--- meta-networking/conf/layer.conf | 5 +++++ 1 file changed, 5 insertions(+)(quoted diff) +0
-0
b/meta-networking/conf/layer.confindex 1ea2bc2..f75080a 100644
meta-networking/conf/layer.conf BBFILE_COLLECTIONS += "networking" · line 16
Quoted 8 lines
meta-networking/conf/layer.conf +5
-0@@ -9,3 +9,8 @@ BBFILE_COLLECTIONS += "networking" BBFILE_PATTERN_networking := "^${LAYERDIR}/" BBFILE_PRIORITY_networking = "5" +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_networking = "1" + +LAYERDEPENDS_networking = "core"
This is good, but it might be useful to also set a versioned dependency on the core - that way if you attempt to use the denzil branch of OE-Core with master of one of these layers, instead of an error about incorrect indentation in python functions you get one specifically about the version being incorrect.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Getting caught up ...
Quoted 18 lines · [Re: [oe] [PATCH] meta-networking: Add LAYERVERSION and LAYERDEPENDS] On…
Quoted 17 lines · On Monday 11 March 2013 17:38:39 [email protected] wrote:
From: Wenzong Fan <[email protected]>
Add LAYERVERSION and LAYERDEPENDS to layer.conf
Signed-off-by Wenzong Fan <[email protected]>--- meta-networking/conf/layer.conf | 5 +++++ 1 file changed, 5 insertions(+)(quoted diff) +0
-0
b/meta-networking/conf/layer.confindex 1ea2bc2..f75080a 100644meta-networking/conf/layer.conf +0
-0@@ -9,3 +9,8 @@ BBFILE_COLLECTIONS += "networking" BBFILE_PATTERN_networking := "^${LAYERDIR}/" BBFILE_PRIORITY_networking = "5"
Quoted 10 lines
meta-networking/conf/layer.conf BBFILE_COLLECTIONS += "networking" · line 16
Quoted 5 lines
meta-networking/conf/layer.conf +5
-0+# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_networking = "1" + +LAYERDEPENDS_networking = "core"This is good, but it might be useful to also set a versioned dependency on the core - that way if you attempt to use the denzil branch of OE-Core with master of one of these layers, instead of an error about incorrect indentation in python functions you get one specifically about the version being incorrect.
I agree. This seems to have caused at least one person some headache recently and I know I've had a few head-scratching moments when I was burned by different trees being on incompatible branches.
Was there an update on this that I didn't see yet? Or are you planning one, Wenzong? I can merge this now, but Paul's got a very good point, I think.
Signature · 2 lines
-Joe MacDonald. :wq
Quoted 14 lines · [[oe] [PATCH] meta-networking: Add LAYERVERSION and LAYERDEPENDS] On 13.03.11…
From: Wenzong Fan <[email protected]>
Add LAYERVERSION and LAYERDEPENDS to layer.conf
Signed-off-by Wenzong Fan <[email protected]>--- meta-networking/conf/layer.conf | 5 +++++ 1 file changed, 5 insertions(+)meta-networking/conf/layer.conf +0
-0
meta-networking/conf/layer.conf BBFILE_COLLECTIONS += "networking" · line 16
Quoted 8 lines
meta-networking/conf/layer.conf +5
-0@@ -9,3 +9,8 @@ BBFILE_COLLECTIONS += "networking" BBFILE_PATTERN_networking := "^${LAYERDIR}/" BBFILE_PRIORITY_networking = "5" +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_networking = "1" + +LAYERDEPENDS_networking = "core"
I went ahead and merged this piece since on the whole it makes things better by being there. I'll take another patch for Paul's suggestion whenever it's available.
Signature · 2 lines
-Joe MacDonald. :wq