All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: David Vincent <freesilicon@gmail.com>, <bruce.ashfield@gmail.com>,
	<yocto@yoctoproject.org>
Subject: Re: [PATCH] kernel-yocto: Update source tree with kgit-meta
Date: Fri, 27 Jan 2017 10:09:25 -0500	[thread overview]
Message-ID: <daad1200-47bd-90b1-573c-b9bcebfbeb44@windriver.com> (raw)
In-Reply-To: <20170126083808.27949-1-freesilicon@gmail.com>

On 2017-01-26 03:38 AM, David Vincent wrote:
> kgit-meta processes a file called meta-series to update the source tree
> (create, merge branches, ...). This fixes the merging of feature
> branches using the new merge command of yocto-kernel-tools.

I have this queued, with some modifications. I as traveling this week,
so it'll be early next week before this goes out for merge.

cheers,

Bruce

>
> Signed-off-by: David Vincent <freesilicon@gmail.com>
> ---
>  meta/classes/kernel-yocto.bbclass | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
> index 5cfd8aff50..b37ac01a84 100644
> --- a/meta/classes/kernel-yocto.bbclass
> +++ b/meta/classes/kernel-yocto.bbclass
> @@ -162,6 +162,19 @@ do_kernel_metadata() {
>  			bbfatal_log "Could not generate configuration queue for ${KMACHINE}."
>  		fi
>  	fi
> +
> +	# Update git repository by running kgit-meta
> +	cd ${S}
> +
> +	check_git_config
> +	meta_dir=$(kgit --meta)
> +	if [ -f "${meta_dir}/meta-series" ]; then
> +		kgit-meta ${meta_dir}/meta-series
> +		if [ $? -ne 0 ]; then
> +			bberror "Could not apply metadata for ${KMACHINE}."
> +			bbfatal_log "Failures can be resolved in the linux source directory ${S})"
> +		fi
> +	fi
>  }
>
>  do_patch() {
>



  reply	other threads:[~2017-01-27 15:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 10:37 [yocto-kernel-tools][PATCH 0/1] Rework merge of feature branches David Vincent
2017-01-25 10:37 ` [yocto-kernel-tools][PATCH 1/1] scc: Move merge command David Vincent
2017-01-25 18:05 ` [yocto-kernel-tools][PATCH 0/1] Rework merge of feature branches Bruce Ashfield
2017-01-26  8:38   ` [PATCH] kernel-yocto: Update source tree with kgit-meta David Vincent
2017-01-27 15:09     ` Bruce Ashfield [this message]
2017-01-30  4:31   ` [yocto-kernel-tools][PATCH 0/1] Rework merge of feature branches Bruce Ashfield
2017-02-03  8:42     ` David Vincent
2017-02-03 14:18       ` Bruce Ashfield
2017-02-03 18:51       ` Bruce Ashfield
2017-02-07 11:21         ` David Vincent
2017-02-07 14:00           ` Bruce Ashfield

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=daad1200-47bd-90b1-573c-b9bcebfbeb44@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=freesilicon@gmail.com \
    --cc=yocto@yoctoproject.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 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.