* [yocto-autobuilder][PATCH] CheckYoctoCompat.py: rename yocto-compat-layer to yocto-check-layer
@ 2017-09-21 1:36 Stephano Cetola
2017-09-21 8:47 ` Joshua Lock
0 siblings, 1 reply; 3+ messages in thread
From: Stephano Cetola @ 2017-09-21 1:36 UTC (permalink / raw)
To: yocto
This script name was changed in the following commit:
b46e05677b342df44829ffe8bcfbfc954e906030
This patch updates the script name to match.
[YOCTO #12110]
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
---
lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py b/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
index 134adaa51..62eddae50 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
@@ -41,11 +41,12 @@ class CheckYoctoCompat(BitbakeShellCommand):
layerversioncore = int(self.getProperty("layerversion_core", "0"))
# yocto-compat-layer-wrapper was introduced in Pyro
+ # it was renamed to yocto-check-layer-wrapper Rocko
if layerversioncore >= 10:
command = ". ./oe-init-build-env;"
for layer in self.layers:
layerpath = os.path.join(builddir, layer)
- cmd = "yocto-compat-layer-wrapper {}".format(layerpath)
+ cmd = "yocto-check-layer-wrapper {}".format(layerpath)
cmd = cmd + " || export CL_FAIL=1;"
command = command + cmd
command = command + 'if [ "$CL_FAIL" = "1" ]; then exit 1; fi;'
--
2.14.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [yocto-autobuilder][PATCH] CheckYoctoCompat.py: rename yocto-compat-layer to yocto-check-layer
2017-09-21 1:36 [yocto-autobuilder][PATCH] CheckYoctoCompat.py: rename yocto-compat-layer to yocto-check-layer Stephano Cetola
@ 2017-09-21 8:47 ` Joshua Lock
2017-09-21 10:02 ` Joshua Lock
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Lock @ 2017-09-21 8:47 UTC (permalink / raw)
To: yocto
On 21/09/17 02:36, Stephano Cetola wrote:
> This script name was changed in the following commit:
>
> b46e05677b342df44829ffe8bcfbfc954e906030
>
> This patch updates the script name to match.
>
> [YOCTO #12110]
>
> Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
> ---
> lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py b/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
> index 134adaa51..62eddae50 100644
> --- a/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
> +++ b/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
> @@ -41,11 +41,12 @@ class CheckYoctoCompat(BitbakeShellCommand):
>
> layerversioncore = int(self.getProperty("layerversion_core", "0"))
> # yocto-compat-layer-wrapper was introduced in Pyro
> + # it was renamed to yocto-check-layer-wrapper Rocko
> if layerversioncore >= 10:
> command = ". ./oe-init-build-env;"
> for layer in self.layers:
> layerpath = os.path.join(builddir, layer)
> - cmd = "yocto-compat-layer-wrapper {}".format(layerpath)
> + cmd = "yocto-check-layer-wrapper {}".format(layerpath)
This will result in failures on Pyro (layer version 10). We should either:
a) bump the layer version check to only run this for Rocko (layer
version 11)
b) use different program names for layer version 10 vs. layer version 11.
I'm inclined to suggest a, the yocto-compat-layer scripts only really
became useful in the Rocko cycle.
> cmd = cmd + " || export CL_FAIL=1;"
> command = command + cmd
> command = command + 'if [ "$CL_FAIL" = "1" ]; then exit 1; fi;'
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [yocto-autobuilder][PATCH] CheckYoctoCompat.py: rename yocto-compat-layer to yocto-check-layer
2017-09-21 8:47 ` Joshua Lock
@ 2017-09-21 10:02 ` Joshua Lock
0 siblings, 0 replies; 3+ messages in thread
From: Joshua Lock @ 2017-09-21 10:02 UTC (permalink / raw)
To: yocto
On 21/09/17 09:47, Joshua Lock wrote:
>
>
> On 21/09/17 02:36, Stephano Cetola wrote:
>> This script name was changed in the following commit:
>>
>> b46e05677b342df44829ffe8bcfbfc954e906030
>>
>> This patch updates the script name to match.
>>
>> [YOCTO #12110]
>>
>> Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
>> ---
>>
>> lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
>> | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git
>> a/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
>> b/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
>> index 134adaa51..62eddae50 100644
>> ---
>> a/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
>> +++
>> b/lib/python2.7/site-packages/autobuilder/buildsteps/CheckYoctoCompat.py
>> @@ -41,11 +41,12 @@ class CheckYoctoCompat(BitbakeShellCommand):
>> layerversioncore = int(self.getProperty("layerversion_core",
>> "0"))
>> # yocto-compat-layer-wrapper was introduced in Pyro
>> + # it was renamed to yocto-check-layer-wrapper Rocko
>> if layerversioncore >= 10:
>> command = ". ./oe-init-build-env;"
>> for layer in self.layers:
>> layerpath = os.path.join(builddir, layer)
>> - cmd = "yocto-compat-layer-wrapper {}".format(layerpath)
>> + cmd = "yocto-check-layer-wrapper {}".format(layerpath)
>
> This will result in failures on Pyro (layer version 10). We should either:
> a) bump the layer version check to only run this for Rocko (layer
> version 11)
I went ahead and merged it with this change.
Joshua
> b) use different program names for layer version 10 vs. layer version 11.
>
> I'm inclined to suggest a, the yocto-compat-layer scripts only really
> became useful in the Rocko cycle.
>
>
>> cmd = cmd + " || export CL_FAIL=1;"
>> command = command + cmd
>> command = command + 'if [ "$CL_FAIL" = "1" ]; then exit
>> 1; fi;'
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-21 10:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 1:36 [yocto-autobuilder][PATCH] CheckYoctoCompat.py: rename yocto-compat-layer to yocto-check-layer Stephano Cetola
2017-09-21 8:47 ` Joshua Lock
2017-09-21 10:02 ` Joshua Lock
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.