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

6 views
Skip to first unread message

srinuv...@siemens.com

unread,
Nov 20, 2025, 9:35:32 PMNov 20
to isar-...@googlegroups.com, Srinuvasan A
From: Srinuvasan A <srinuv...@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 <srinuv...@siemens.com>
---
meta/recipes-bsp/u-boot/files/debian/control.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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}
--
2.34.1

srinuv...@siemens.com

unread,
Nov 20, 2025, 9:35:35 PMNov 20
to isar-...@googlegroups.com, Srinuvasan A
From: Srinuvasan A <srinuv...@siemens.com>

Using PN causes conflicting source identifiers when building -native.
Basing the source name on BPN unifies naming across recipe variants and
avoids 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 - optee-os-iot2050-native and optee-os-iot2050
| WARNING: exit code 2 from a shell command.

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

diff --git a/meta/recipes-bsp/optee-os/files/debian/control.tmpl b/meta/recipes-bsp/optee-os/files/debian/control.tmpl
index e6a9df30..d1d21272 100644
--- a/meta/recipes-bsp/optee-os/files/debian/control.tmpl
+++ b/meta/recipes-bsp/optee-os/files/debian/control.tmpl

Zhihang Wei

unread,
Nov 26, 2025, 4:47:57 AMNov 26
to srinuv...@siemens.com, isar-...@googlegroups.com
Both were applied to next, thanks.
Reply all
Reply to author
Forward
0 new messages