From: srinuvasan <
srinuv...@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 <
srinuv...@siemens.com>
---
meta/recipes-bsp/libubootenv/
libubootenv_0.3.5-0.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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}
}
--
2.39.5