meta/recipes-bsp/libubootenv: use BPN instead of PN

Message ID 20251119045444.408086-1-srinuvasan.a@siemens.com
State New
Headers show
Series meta/recipes-bsp/libubootenv: use BPN instead of PN | expand

Commit Message

srinuvasan.a Nov. 19, 2025, 4:54 a.m. UTC
From: srinuvasan <srinuvasan.a@siemens.com>

dpkg-source fails for libubootenv-native because the orig tarball was named
using PN, which includes the "-native" suffix. Debian expects orig tarballs
to use the base package name. Switch to BPN so both native and non-native
builds use the correct upstream tarball.

Err Logs:
DEBUG: Executing shell function do_dpkg_source
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../libubootenv_0.3.5-0.1+isar.orig.tar.{bz2,gz,lzma,xz}
WARNING: exit code 25 from a shell command.

Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
---
 meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
index 08eab73c..4d64ff8e 100644
--- a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
+++ b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
@@ -25,5 +25,5 @@  CHANGELOG_V ?= "${PV}+isar-${SRCREV}"
 do_prepare_build() {
     deb_add_changelog
     cd ${WORKDIR}
-    tar cJf ${PN}_${PV}+isar.orig.tar.xz --exclude=.git --exclude=debian ${P}
+    tar cJf ${BPN}_${PV}+isar.orig.tar.xz --exclude=.git --exclude=debian ${P}
 }