[2/2] meta/recipes-bsp/optee-os: align source package name with BPN

Message ID 20251121023853.425234-2-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>

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 <srinuvasan.a@siemens.com>
---
 meta/recipes-bsp/optee-os/files/debian/control.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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
@@ -1,4 +1,4 @@ 
-Source: ${PN}
+Source: ${BPN}
 Section: admin
 Priority: optional
 Standards-Version: ${DEBIAN_STANDARDS_VERSION}