[1/2] meta/recipes-bsp/u-boot: use BPN for source package naming

Message ID 20251121023853.425234-1-srinuvasan.a@siemens.com
State Under Review
Headers show
Series [1/2] meta/recipes-bsp/u-boot: use BPN for source package naming | expand

Commit Message

srinuvasan.a Nov. 21, 2025, 2:38 a.m. UTC
From: Srinuvasan A <srinuvasan.a@siemens.com>

Building the -native variant fails due to conflicting source package
identifiers. Using the base package name (BPN) provides a consistent
source name for both native and non-native recipes, avoiding the
conflict.

Err Logs:
Log data follows:
| DEBUG: Executing shell function do_dpkg_source
| dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
| dpkg-source: error: source package has two conflicting values - u-boot-iot2050-native and u-boot-iot2050
| WARNING: exit code 2 from a shell command.

Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
 meta/recipes-bsp/u-boot/files/debian/control.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-bsp/u-boot/files/debian/control.tmpl b/meta/recipes-bsp/u-boot/files/debian/control.tmpl
index b68e0d65..bf8a81de 100644
--- a/meta/recipes-bsp/u-boot/files/debian/control.tmpl
+++ b/meta/recipes-bsp/u-boot/files/debian/control.tmpl
@@ -1,4 +1,4 @@ 
-Source: ${PN}
+Source: ${BPN}
 Section: admin
 Priority: optional
 Standards-Version: ${DEBIAN_STANDARDS_VERSION}