[yocto] [yocto-autobuilder][PATCHv3] PublishLayerTarballs.py: don't change directories for Eclipse builds
Joshua G Lock
joshua.g.lock at linux.intel.com
Wed Jul 13 13:50:57 PDT 2016
On Wed, 2016-07-13 at 11:34 -0700, Bill Randle wrote:
> When publishing eclipse tarballs, we are already in the correct
> directory,
> so skip the change direction operation (which will generate an
> error).
Merged to master, thanks.
Joshua
>
> Signed-off-by: Bill Randle <william.c.randle at intel.com>
> ---
> V3: fix another Python syntax error (unbelievable!)
>
> .../site-
> packages/autobuilder/buildsteps/PublishLayerTarballs.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishLayerTarballs.py
> b/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishLayerTarballs.py
> index c140725..7c1ce4a 100644
> --- a/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishLayerTarballs.py
> +++ b/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishLayerTarballs.py
> @@ -38,7 +38,8 @@ class PublishLayerTarballs(ShellCommand):
> snapshot = ""
> self.basedir=os.path.join(os.path.join(os.path.join(
> self.workerdir, buildername),
> self.workdir))
> - if self.layername is not "poky":
> + if self.layername is not "poky" \
> + and "eclipse" not in self.layername:
> command = "cd " + self.layername + ";"
> else:
> command = ""
More information about the yocto
mailing list