public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] meta/classes/template: add BPN to default TEMPLATE_VARS
@ 2024-05-06  7:17 srinuvasan.a
  2024-05-07  5:24 ` Srinuvasan Arjunan
  2024-05-10  5:46 ` Uladzimir Bely
  0 siblings, 2 replies; 6+ messages in thread
From: srinuvasan.a @ 2024-05-06  7:17 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, Srinuvasan A

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-10  5:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-06  7:17 [PATCH] meta/classes/template: add BPN to default TEMPLATE_VARS 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox