public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] debianize: Use BPN instead of PN for native and compat compatibility
@ 2023-05-04 15:33 Jan Kiszka
  2023-05-15  5:31 ` Schmidt, Adriaan
  2023-05-19  4:13 ` Uladzimir Bely
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2023-05-04 15:33 UTC (permalink / raw)
  To: isar-users; +Cc: Schmidt, Adriaan

From: Jan Kiszka <jan.kiszka@siemens.com>

This resolves build issues with using a generated changelog together
with native or compat targets.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/classes/debianize.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass
index 1b98c02d..f6ce11a2 100644
--- a/meta/classes/debianize.bbclass
+++ b/meta/classes/debianize.bbclass
@@ -66,14 +66,14 @@ deb_create_compat() {
 deb_create_control() {
 	compat=$( cat ${S}/debian/compat )
 	cat << EOF > ${S}/debian/control
-Source: ${PN}
+Source: ${BPN}
 Section: misc
 Priority: optional
 Standards-Version: 3.9.6
 Maintainer: ${MAINTAINER}
 Build-Depends: debhelper (>= ${compat}), ${DEBIAN_BUILD_DEPENDS}
 
-Package: ${PN}
+Package: ${BPN}
 Architecture: ${DPKG_ARCH}
 Depends: ${DEBIAN_DEPENDS}
 Conflicts: ${DEBIAN_CONFLICTS}
-- 
2.35.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-19  4:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-04 15:33 [PATCH] debianize: Use BPN instead of PN for native and compat compatibility Jan Kiszka
2023-05-15  5:31 ` Schmidt, Adriaan
2023-05-19  4:13 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox