From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Cc: "Schmidt, Adriaan" <adriaan.schmidt@siemens.com>
Subject: [PATCH] debianize: Use BPN instead of PN for native and compat compatibility
Date: Thu, 4 May 2023 17:33:49 +0200 [thread overview]
Message-ID: <141d302e-9a05-25ae-b63f-49c80704fa33@siemens.com> (raw)
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
next reply other threads:[~2023-05-04 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-04 15:33 Jan Kiszka [this message]
2023-05-15 5:31 ` Schmidt, Adriaan
2023-05-19 4:13 ` Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=141d302e-9a05-25ae-b63f-49c80704fa33@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=adriaan.schmidt@siemens.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox