Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Jaewon Lee <jaewon.lee@xilinx.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] devtool: build: add deploy to the tasks run for devtool build
Date: Sat, 08 Jun 2019 13:15:08 +0100	[thread overview]
Message-ID: <75b09b73c57e0717cda78e6732e73d91ef670f45.camel@linuxfoundation.org> (raw)
In-Reply-To: <1559945821-18316-1-git-send-email-jaewon.lee@xilinx.com>

On Fri, 2019-06-07 at 15:17 -0700, Jaewon Lee wrote:
> Right now `devtool build` runs populate_sysroot and packagedata
> tasks.
> Adding deploy to this list so that the newly built artifacts are
> available in the deploy directory.
> 
> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
> 
> [YOCTO #13382]
> 
> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
> ---
>  scripts/lib/devtool/build.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/lib/devtool/build.py
> b/scripts/lib/devtool/build.py
> index 7543398..aff5710 100644
> --- a/scripts/lib/devtool/build.py
> +++ b/scripts/lib/devtool/build.py
> @@ -37,7 +37,7 @@ def _set_file_values(fn, values):
>      return updated
>  
>  def _get_build_tasks(config):
> -    tasks = config.get('Build', 'build_task',
> 'populate_sysroot,packagedata').split(',')
> +    tasks = config.get('Build', 'build_task',
> 'deploy,populate_sysroot,packagedata').split(',')
>      return ['do_%s' % task.strip() for task in tasks]
>  
>  def build(args, config, basepath, workspace):

This frustrates me a bit.

The key question you have to ask here is "What happens for recipes that
don't have a do_deploy task?".

The answer is it breaks:

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/506

*Please*, when sending devtool patches, test with:

oe-selftest -r devtool

Cheers,

Richard




  reply	other threads:[~2019-06-08 12:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07 22:17 [PATCH] devtool: build: add deploy to the tasks run for devtool build Jaewon Lee
2019-06-08 12:15 ` Richard Purdie [this message]
2019-06-08 15:34   ` Jaewon Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75b09b73c57e0717cda78e6732e73d91ef670f45.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=jaewon.lee@xilinx.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox