public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: srinuvasan.a@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH] meta/classes/template: add BPN to default TEMPLATE_VARS
Date: Fri, 10 May 2024 08:46:22 +0300	[thread overview]
Message-ID: <8b5bcb8dfed63ff95d90c7e71ccf6103cde18a42.camel@ilbers.de> (raw)
In-Reply-To: <20240506071705.940343-1-srinuvasan.a@siemens.com>

On Mon, 2024-05-06 at 12:47 +0530, srinuvasan.a via isar-users wrote:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
> 
> Add the base recipe name (BPN) to default template variables, this
> would be
> helpful to replace the base recipe name in template file if the
> recipe
> configured BPN across the builds.
> 
> Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
> ---
>  meta/classes/template.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/template.bbclass
> b/meta/classes/template.bbclass
> index 7f8d5d8f..37e43196 100644
> --- a/meta/classes/template.bbclass
> +++ b/meta/classes/template.bbclass
> @@ -4,7 +4,7 @@
>  # SPDX-License-Identifier: MIT
>  
>  TEMPLATE_FILES ?= ""
> -TEMPLATE_VARS ?= "PN PV DESCRIPTION HOMEPAGE MAINTAINER DISTRO_ARCH"
> +TEMPLATE_VARS ?= "BPN PN PV DESCRIPTION HOMEPAGE MAINTAINER
> DISTRO_ARCH"
>  
>  do_transform_template[vardeps] = "TEMPLATE_FILES ${TEMPLATE_VARS}"
>  python do_transform_template() {
> -- 
> 2.34.1
> 

Applied to next, thanks.


      parent reply	other threads:[~2024-05-10  5:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-06  7:17 srinuvasan.a
2024-05-07  5:24 ` Srinuvasan Arjunan
2024-05-07  9:24   ` Uladzimir Bely
2024-05-07  9:29   ` Jan Kiszka
2024-05-07 14:24     ` Srinuvasan Arjunan
2024-05-10  5:46 ` Uladzimir Bely [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=8b5bcb8dfed63ff95d90c7e71ccf6103cde18a42.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    --cc=srinuvasan.a@siemens.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox