All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Sakoman <steve@sakoman.com>
To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [master][kirkstone][PATCH] license_image.bbclass: Make QA errors fail the build
Date: Thu, 28 Apr 2022 07:35:31 -1000	[thread overview]
Message-ID: <CAGDS+nke8qEOh8XX5x9Jej7x57DjDuW5s=hyd8U099-Ez6A3Yg@mail.gmail.com> (raw)
In-Reply-To: <20220421211146.19368-1-pkj@axis.com>

I haven't seen this patch hit master or master-next yet.  Were there
issues with it?

Just want to make sure I don't miss anything requested for kirkstone.

Steve

On Thu, Apr 21, 2022 at 11:11 AM Peter Kjellerstedt
<peter.kjellerstedt@axis.com> wrote:
>
> If, e.g., license-file-missing is added to ERROR_QA, then the build
> should fail if any licenses are missing.
>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> ---
>  meta/classes/license_image.bbclass | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass
> index 7e1d0e08a9..3213ea758e 100644
> --- a/meta/classes/license_image.bbclass
> +++ b/meta/classes/license_image.bbclass
> @@ -104,6 +104,8 @@ def write_license_files(d, license_manifest, pkg_dic, rootfs=True):
>                                         "The license listed %s was not in the "\
>                                         "licenses collected for recipe %s"
>                                         % (lic, pkg_dic[pkg]["PN"]), d)
> +    oe.qa.exit_if_errors(d)
> +
>      # Two options here:
>      # - Just copy the manifest
>      # - Copy the manifest and the license directories
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#164766): https://lists.openembedded.org/g/openembedded-core/message/164766
> Mute This Topic: https://lists.openembedded.org/mt/90615582/3617601
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [sakoman@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


  reply	other threads:[~2022-04-28 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21 21:11 [master][kirkstone][PATCH] license_image.bbclass: Make QA errors fail the build Peter Kjellerstedt
2022-04-28 17:35 ` Steve Sakoman [this message]
2022-04-29  8:10   ` [OE-core] " Peter Kjellerstedt
     [not found]   ` <16EA4FAF914EDF73.11702@lists.openembedded.org>
2022-05-23 21:57     ` Peter Kjellerstedt
2022-05-23 23:18       ` Steve Sakoman

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='CAGDS+nke8qEOh8XX5x9Jej7x57DjDuW5s=hyd8U099-Ez6A3Yg@mail.gmail.com' \
    --to=steve@sakoman.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=peter.kjellerstedt@axis.com \
    /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.