public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] classes/populate_sdk_ext: exclude image tasks from locked signatures
Date: Mon, 12 Sep 2016 09:07:33 +1200	[thread overview]
Message-ID: <1891963.rDEoGGKz2S@peggleto-mobl.ger.corp.intel.com> (raw)
In-Reply-To: <1473167586-11640-1-git-send-email-amarnath.valluri@intel.com>

On Tue, 06 Sep 2016 16:13:06 Amarnath Valluri wrote:
> Tasks for image recipes cannot be locked and should be excluded from eSDK
> generated locked-sigs.inc. get_sdk_install_targets() was not returning right
> image targets to be excluded incase of 'minimal' sdk. This change fixes the
> issue.
> 
> Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
> ---
>  meta/classes/populate_sdk_ext.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/populate_sdk_ext.bbclass
> b/meta/classes/populate_sdk_ext.bbclass index d8d123a..1a15d2a 100644
> --- a/meta/classes/populate_sdk_ext.bbclass
> +++ b/meta/classes/populate_sdk_ext.bbclass
> @@ -43,7 +43,7 @@ SDK_TARGETS ?= "${PN}"
> 
>  def get_sdk_install_targets(d, images_only=False):
>      sdk_install_targets = ''
> -    if d.getVar('SDK_EXT_TYPE', True) != 'minimal':
> +    if images_only or d.getVar('SDK_EXT_TYPE', True) != 'minimal':
>          sdk_install_targets = d.getVar('SDK_TARGETS', True)
> 
>          depd = d.getVar('BB_TASKDEPDATA', False)

Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>

(The original naming of the parameter probably makes this a little confusing 
now, but we can tidy that up later.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


      reply	other threads:[~2016-09-11 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 13:13 [PATCH] classes/populate_sdk_ext: exclude image tasks from locked signatures Amarnath Valluri
2016-09-11 21:07 ` Paul Eggleton [this message]

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=1891963.rDEoGGKz2S@peggleto-mobl.ger.corp.intel.com \
    --to=paul.eggleton@linux.intel.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