* [PATCH 0/3] Use BPN instead of PN for package naming
@ 2026-11-12 8:38 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 1/3] debianize: services are named after BPN not PN 'Felix Moessbauer' via isar-users
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-11-12 8:38 UTC (permalink / raw)
To: isar-users; +Cc: Felix Moessbauer
As the source packages are shared across architectures, we must not
use PN for any templating. This series cleans this up across the
codebase.
Best regards,
Felix
Felix Moessbauer (3):
debianize: services are named after BPN not PN
dpkg-raw: do not leak package variants into debian package
debian templates: name package after BPN instead of PN
.../optee-examples/files/debian/control.tmpl | 26 +++++++-------
.../optee-examples-stm32mp15x_3.21.0.bb | 36 +++++++++----------
meta/classes-recipe/debianize.bbclass | 6 ++--
meta/classes-recipe/dpkg-raw.bbclass | 3 +-
meta/classes-recipe/dracut-module.bbclass | 2 +-
meta/classes-recipe/linux-module.bbclass | 4 +--
.../optee-client/files/debian/control.tmpl | 2 +-
.../optee-ftpm/files/debian/control.tmpl | 4 +--
.../linux-module/files/debian/control.tmpl | 4 +--
.../linux-module/files/debian/rules.tmpl | 2 +-
10 files changed, 45 insertions(+), 44 deletions(-)
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20261112083859.3152361-1-felix.moessbauer%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] debianize: services are named after BPN not PN
2026-11-12 8:38 [PATCH 0/3] Use BPN instead of PN for package naming 'Felix Moessbauer' via isar-users
@ 2026-11-12 8:38 ` 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 2/3] dpkg-raw: do not leak package variants into debian package 'Felix Moessbauer' via isar-users
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-11-12 8:38 UTC (permalink / raw)
To: isar-users; +Cc: Felix Moessbauer
In 09f4698a logic was added to automatically copy triggers and service
files into the debian folder so that they are picked up by debhelper.
However, the services were only looked up under their
${PN}.{service,trigger}, which breaks on variant builds like -native and
-compat.
As the package variant suffix is a bitbake only thing, it must not end
up in the names of the services (neither on lookup, nor on copy-in),
as the debian package is named ${BPN} and the entries must match.
Along that, we fix an incorrect tabs vs. spaces indentation.
Fixes: 09f4698a ("debianize: add support for systemd unit files")
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
.../recipes-bsp/optee-examples/files/debian/control.tmpl | 2 +-
meta/classes-recipe/debianize.bbclass | 6 +++---
meta/recipes-bsp/optee-client/files/debian/control.tmpl | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl b/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
index 7533c34a..8b8e4eef 100644
--- a/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
+++ b/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
@@ -1,4 +1,4 @@
-Source: ${PN}
+Source: ${BPN}
Section: admin
Priority: optional
Standards-Version: ${DEBIAN_STANDARDS_VERSION}
diff --git a/meta/classes-recipe/debianize.bbclass b/meta/classes-recipe/debianize.bbclass
index 6f6141b0..e483a52d 100644
--- a/meta/classes-recipe/debianize.bbclass
+++ b/meta/classes-recipe/debianize.bbclass
@@ -206,10 +206,10 @@ deb_debianize() {
for f in ${dh_installdeb_handled} \
${dh_installsystemd_handled} \
${dh_installsystemduser_handled} \
- ${dh_installtmpfiles_handled}
+ ${dh_installtmpfiles_handled}
do
- if [ -f ${WORKDIR}/${PN}${f} ]; then
- install -v -m 644 ${WORKDIR}/${PN}${f} ${S}/debian/
+ if [ -f ${WORKDIR}/${BPN}${f} ]; then
+ install -v -m 644 ${WORKDIR}/${BPN}${f} ${S}/debian/
fi
done
}
diff --git a/meta/recipes-bsp/optee-client/files/debian/control.tmpl b/meta/recipes-bsp/optee-client/files/debian/control.tmpl
index e3864407..0887c358 100644
--- a/meta/recipes-bsp/optee-client/files/debian/control.tmpl
+++ b/meta/recipes-bsp/optee-client/files/debian/control.tmpl
@@ -1,4 +1,4 @@
-Source: ${PN}
+Source: ${BPN}
Priority: optional
Maintainer: Unknown maintainer <unknown@example.com>
Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}),
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20261112083859.3152361-2-felix.moessbauer%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/3] dpkg-raw: do not leak package variants into debian package
2026-11-12 8:38 [PATCH 0/3] Use BPN instead of PN for package naming 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 1/3] debianize: services are named after BPN not PN 'Felix Moessbauer' via isar-users
@ 2026-11-12 8:38 ` 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 3/3] debian templates: name package after BPN instead of PN 'Felix Moessbauer' via isar-users
2026-11-13 15:32 ` [PATCH 0/3] Use BPN instead of PN for package naming Zhihang Wei
3 siblings, 0 replies; 5+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-11-12 8:38 UTC (permalink / raw)
To: isar-users; +Cc: Felix Moessbauer
When generating a dpkg-raw package from a -native or -compat variant,
the wrong install file is looked up (${PN}.install vs. ${BPN}.install)
and the root dir name of the generated source package is wrong
(${PN}-${PV} vs. ${BPN}-${PV}). By that, sbuild does not consider the
files in the debian dir and silently generates an empty package.
As dpkg-raw packages usually only were generated in its natural form
(PN = BPN), this bug remained unnoticed for a long time.
Fixes: c63bb31b ("add multiarch support")
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
meta/classes-recipe/dpkg-raw.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes-recipe/dpkg-raw.bbclass b/meta/classes-recipe/dpkg-raw.bbclass
index 7860389e..97207fff 100644
--- a/meta/classes-recipe/dpkg-raw.bbclass
+++ b/meta/classes-recipe/dpkg-raw.bbclass
@@ -9,6 +9,7 @@ inherit dpkg
# adding excluded files, e.g. *.so to a package.
DPKG_SOURCE_EXTRA_ARGS = ""
+S = "${WORKDIR}/${BPN}-${PV}"
D = "${S}/image"
# Default to creating a binary-indep package
@@ -27,7 +28,7 @@ do_prepare_build[cleandirs] += "${S}/debian"
do_prepare_build() {
cd ${D}
find . -maxdepth 1 ! -name .. -and ! -name . -and ! -name debian | \
- sed 's:^./::' | sort > ${S}/debian/${PN}.install
+ sed 's:^./::' | sort > ${S}/debian/${BPN}.install
deb_debianize
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20261112083859.3152361-3-felix.moessbauer%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 3/3] debian templates: name package after BPN instead of PN
2026-11-12 8:38 [PATCH 0/3] Use BPN instead of PN for package naming 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 1/3] debianize: services are named after BPN not PN 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 2/3] dpkg-raw: do not leak package variants into debian package 'Felix Moessbauer' via isar-users
@ 2026-11-12 8:38 ` 'Felix Moessbauer' via isar-users
2026-11-13 15:32 ` [PATCH 0/3] Use BPN instead of PN for package naming Zhihang Wei
3 siblings, 0 replies; 5+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-11-12 8:38 UTC (permalink / raw)
To: isar-users; +Cc: Felix Moessbauer
The package variants are are bitbake-only thing but must not affect the
name of the generated packages. By that, all control files must use
Source: ${BPN} instead of Source: ${PN} (and alike for the binary
package).
We fix this for the remaining packages that don't use debianize but
provide their own template.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
.../optee-examples/files/debian/control.tmpl | 24 ++++++-------
.../optee-examples-stm32mp15x_3.21.0.bb | 36 +++++++++----------
meta/classes-recipe/dracut-module.bbclass | 2 +-
meta/classes-recipe/linux-module.bbclass | 4 +--
.../optee-ftpm/files/debian/control.tmpl | 4 +--
.../linux-module/files/debian/control.tmpl | 4 +--
.../linux-module/files/debian/rules.tmpl | 2 +-
7 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl b/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
index 8b8e4eef..ff537e46 100644
--- a/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
+++ b/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
@@ -6,7 +6,7 @@ Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}), ${DEBIAN_BUILD_DEPENDS}
Maintainer: Isar project <isar-users@googlegroups.com>
Rules-Requires-Root: no
-Package: ${PN}-acipher-ta
+Package: ${BPN}-acipher-ta
Architecture: ${DISTRO_ARCH}
Description: OP-TEE Trusted Application example - acipher
Generates an RSA key pair of specified size and encrypts a supplied string with
@@ -14,7 +14,7 @@ Description: OP-TEE Trusted Application example - acipher
.
UUID: a734eed9-d6a1-4244-aa50-7c99719e7b7b
-Package: ${PN}-acipher-host
+Package: ${BPN}-acipher-host
Architecture: ${DISTRO_ARCH}
Depends: libteec1, tee-supplicant,
${misc:Depends}
@@ -24,7 +24,7 @@ Description: OP-TEE Trusted Application example - acipher (host application)
.
UUID: a734eed9-d6a1-4244-aa50-7c99719e7b7b
-Package: ${PN}-aes-ta
+Package: ${BPN}-aes-ta
Architecture: ${DISTRO_ARCH}
Description: OP-TEE Trusted Application example - aes
Runs an AES encryption and decryption from a TA using the GlobalPlatform TEE
@@ -33,7 +33,7 @@ Description: OP-TEE Trusted Application example - aes
.
UUID: 5dbac793-f574-4871-8ad3-04331ec17f24
-Package: ${PN}-aes-host
+Package: ${BPN}-aes-host
Architecture: ${DISTRO_ARCH}
Depends: libteec1, tee-supplicant,
${misc:Depends}
@@ -44,7 +44,7 @@ Description: OP-TEE Trusted Application example - aes (host application)
.
UUID: 5dbac793-f574-4871-8ad3-04331ec17f24
-Package: ${PN}-hello-world-ta
+Package: ${BPN}-hello-world-ta
Architecture: ${DISTRO_ARCH}
Description: OP-TEE Trusted Application example - hello_world
This is a very simple Trusted Application to answer a hello command and
@@ -52,7 +52,7 @@ Description: OP-TEE Trusted Application example - hello_world
.
UUID: 8aaaf200-2450-11e4-abe2-0002a5d5c51b
-Package: ${PN}-hello-world-host
+Package: ${BPN}-hello-world-host
Architecture: ${DISTRO_ARCH}
Depends: libteec1, tee-supplicant,
${misc:Depends}
@@ -62,14 +62,14 @@ Description: OP-TEE Trusted Application example - hello_world (host application)
.
UUID: 8aaaf200-2450-11e4-abe2-0002a5d5c51b
-Package: ${PN}-hotp-ta
+Package: ${BPN}-hotp-ta
Architecture: ${DISTRO_ARCH}
Description: OP-TEE Trusted Application example - hotp
HMAC based One Time Password in OP-TEE.
.
UUID: 484d4143-2d53-4841-3120-4a6f636b6542
-Package: ${PN}-hotp-host
+Package: ${BPN}-hotp-host
Architecture: ${DISTRO_ARCH}
Depends: libteec1, tee-supplicant,
${misc:Depends}
@@ -78,14 +78,14 @@ Description: OP-TEE Trusted Application example - hotp (host application)
.
UUID: 484d4143-2d53-4841-3120-4a6f636b6542
-Package: ${PN}-random-ta
+Package: ${BPN}-random-ta
Architecture: ${DISTRO_ARCH}
Description: OP-TEE Trusted Application example - random
Generates a random UUID using capabilities of TEE API (TEE_GenerateRandom()).
.
UUID: b6c53aba-9669-4668-a7f2-205629d00f86
-Package: ${PN}-random-host
+Package: ${BPN}-random-host
Architecture: ${DISTRO_ARCH}
Depends: libteec1, tee-supplicant,
${misc:Depends}
@@ -94,7 +94,7 @@ Description: OP-TEE Trusted Application example - random (host application)
.
UUID: b6c53aba-9669-4668-a7f2-205629d00f86
-Package: ${PN}-secure-storage-ta
+Package: ${BPN}-secure-storage-ta
Architecture: ${DISTRO_ARCH}
Description: OP-TEE Trusted Application example - secure_storage
A Trusted Application to read/write raw data into the OP-TEE secure storage
@@ -102,7 +102,7 @@ Description: OP-TEE Trusted Application example - secure_storage
.
UUID: f4e750bb-1437-4fbf-8785-8d3580c34994
-Package: ${PN}-secure-storage-host
+Package: ${BPN}-secure-storage-host
Architecture: ${DISTRO_ARCH}
Depends: libteec1, tee-supplicant,
${misc:Depends}
diff --git a/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb b/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
index cbe2a635..f35df17b 100644
--- a/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
+++ b/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
@@ -53,51 +53,51 @@ do_prepare_build() {
# acipher.install
echo "acipher/ta/a734eed9-d6a1-4244-aa50-7c99719e7b7b.ta /usr/lib/optee-os/${OPTEE_NAME}/ta" > \
- ${S}/debian/${PN}-acipher-ta.install
+ ${S}/debian/${BPN}-acipher-ta.install
echo "acipher/ta/a734eed9-d6a1-4244-aa50-7c99719e7b7b.stripped.elf /usr/lib/optee-os/${OPTEE_NAME}/ta" >> \
- ${S}/debian/${PN}-acipher-ta.install
+ ${S}/debian/${BPN}-acipher-ta.install
echo "acipher/host/optee_example_acipher /usr/lib/optee-os/${OPTEE_NAME}/ca" > \
- ${S}/debian/${PN}-acipher-host.install
+ ${S}/debian/${BPN}-acipher-host.install
# aes.install
echo "aes/ta/5dbac793-f574-4871-8ad3-04331ec17f24.ta /usr/lib/optee-os/${OPTEE_NAME}/ta" > \
- ${S}/debian/${PN}-aes-ta.install
+ ${S}/debian/${BPN}-aes-ta.install
echo "aes/ta/5dbac793-f574-4871-8ad3-04331ec17f24.stripped.elf /usr/lib/optee-os/${OPTEE_NAME}/ta" >> \
- ${S}/debian/${PN}-aes-ta.install
+ ${S}/debian/${BPN}-aes-ta.install
echo "aes/host/optee_example_aes /usr/lib/optee-os/${OPTEE_NAME}/ca" > \
- ${S}/debian/${PN}-aes-host.install
+ ${S}/debian/${BPN}-aes-host.install
# hello-world.install
echo "hello_world/ta/8aaaf200-2450-11e4-abe2-0002a5d5c51b.ta /usr/lib/optee-os/${OPTEE_NAME}/ta" > \
- ${S}/debian/${PN}-hello-world-ta.install
+ ${S}/debian/${BPN}-hello-world-ta.install
echo "hello_world/ta/8aaaf200-2450-11e4-abe2-0002a5d5c51b.stripped.elf /usr/lib/optee-os/${OPTEE_NAME}/ta" >> \
- ${S}/debian/${PN}-hello-world-ta.install
+ ${S}/debian/${BPN}-hello-world-ta.install
echo "hello_world/host/optee_example_hello_world /usr/lib/optee-os/${OPTEE_NAME}/ca" > \
- ${S}/debian/${PN}-hello-world-host.install
+ ${S}/debian/${BPN}-hello-world-host.install
# hotp.install
echo "hotp/ta/484d4143-2d53-4841-3120-4a6f636b6542.ta /usr/lib/optee-os/${OPTEE_NAME}/ta" > \
- ${S}/debian/${PN}-hotp-ta.install
+ ${S}/debian/${BPN}-hotp-ta.install
echo "hotp/ta/484d4143-2d53-4841-3120-4a6f636b6542.stripped.elf /usr/lib/optee-os/${OPTEE_NAME}/ta" >> \
- ${S}/debian/${PN}-hotp-ta.install
+ ${S}/debian/${BPN}-hotp-ta.install
echo "hotp/host/optee_example_hotp /usr/lib/optee-os/${OPTEE_NAME}/ca" > \
- ${S}/debian/${PN}-hotp-host.install
+ ${S}/debian/${BPN}-hotp-host.install
# random.install
echo "random/ta/b6c53aba-9669-4668-a7f2-205629d00f86.ta /usr/lib/optee-os/${OPTEE_NAME}/ta" > \
- ${S}/debian/${PN}-random-ta.install
+ ${S}/debian/${BPN}-random-ta.install
echo "random/ta/b6c53aba-9669-4668-a7f2-205629d00f86.stripped.elf /usr/lib/optee-os/${OPTEE_NAME}/ta" >> \
- ${S}/debian/${PN}-random-ta.install
+ ${S}/debian/${BPN}-random-ta.install
echo "random/host/optee_example_random /usr/lib/optee-os/${OPTEE_NAME}/ca" > \
- ${S}/debian/${PN}-random-host.install
+ ${S}/debian/${BPN}-random-host.install
# secure-storage.install
echo "secure_storage/ta/f4e750bb-1437-4fbf-8785-8d3580c34994.ta /usr/lib/optee-os/${OPTEE_NAME}/ta" > \
- ${S}/debian/${PN}-secure-storage-ta.install
+ ${S}/debian/${BPN}-secure-storage-ta.install
echo "secure_storage/ta/f4e750bb-1437-4fbf-8785-8d3580c34994.stripped.elf /usr/lib/optee-os/${OPTEE_NAME}/ta" >> \
- ${S}/debian/${PN}-secure-storage-ta.install
+ ${S}/debian/${BPN}-secure-storage-ta.install
echo "secure_storage/host/optee_example_secure_storage /usr/lib/optee-os/${OPTEE_NAME}/ca" > \
- ${S}/debian/${PN}-secure-storage-host.install
+ ${S}/debian/${BPN}-secure-storage-host.install
}
COMPATIBLE_MACHINE = "^(stm32mp15x)$"
diff --git a/meta/classes-recipe/dracut-module.bbclass b/meta/classes-recipe/dracut-module.bbclass
index 6d32a4ac..b4c858ae 100644
--- a/meta/classes-recipe/dracut-module.bbclass
+++ b/meta/classes-recipe/dracut-module.bbclass
@@ -15,7 +15,7 @@ DRACUT_MODULE_SETUP = "module-setup.sh"
SRC_URI:append = "file://${DRACUT_MODULE_SETUP}.tmpl"
DRACUT_MODULE_NO ??= "50"
-DRACUT_MODULE_NAME ?= "${@ d.getVar('PN')[7:] if d.getVar('PN').startswith('dracut-') else d.getVar('PN')}"
+DRACUT_MODULE_NAME ?= "${@ d.getVar('BPN')[7:] if d.getVar('BPN').startswith('dracut-') else d.getVar('BPN')}"
DEBIAN_DEPENDS = "dracut-core"
DRACUT_MODULE_PATH = "${D}/usr/lib/dracut/modules.d/${DRACUT_MODULE_NO}${DRACUT_MODULE_NAME}/"
diff --git a/meta/classes-recipe/linux-module.bbclass b/meta/classes-recipe/linux-module.bbclass
index f0b5790c..05a36129 100644
--- a/meta/classes-recipe/linux-module.bbclass
+++ b/meta/classes-recipe/linux-module.bbclass
@@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
-DESCRIPTION ?= "Custom kernel module ${PN}"
+DESCRIPTION ?= "Custom kernel module ${BPN}"
MAINTAINER ?= "isar-users <isar-users@googlegroups.com>"
KERNEL_NAME ?= ""
@@ -66,7 +66,7 @@ TEMPLATE_VARS += " \
SIGNATURE_CERTFILE \
SIGNATURE_HASHFN \
SIGNATURE_SIGNWITH \
- PN \
+ BPN \
DEBIAN_COMPAT \
DEBIAN_STANDARDS_VERSION"
diff --git a/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl b/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl
index 7f41b5c4..22e62c8f 100644
--- a/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl
+++ b/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl
@@ -1,4 +1,4 @@
-Source: ${PN}
+Source: ${BPN}
Section: misc
Priority: optional
Standards-Version: ${DEBIAN_STANDARDS_VERSION}
@@ -6,7 +6,7 @@ Maintainer: Unknown maintainer <unknown@example.com>
Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}), ${DEBIAN_BUILD_DEPENDS}
Rules-Requires-Root: no
-Package: ${PN}
+Package: ${BPN}
Architecture: any
Depends:
Description: TCG reference implementation of the TPM 2.0 Specification.
diff --git a/meta/recipes-kernel/linux-module/files/debian/control.tmpl b/meta/recipes-kernel/linux-module/files/debian/control.tmpl
index d8f4aded..43bf7c14 100644
--- a/meta/recipes-kernel/linux-module/files/debian/control.tmpl
+++ b/meta/recipes-kernel/linux-module/files/debian/control.tmpl
@@ -1,4 +1,4 @@
-Source: ${PN}
+Source: ${BPN}
Section: kernel
Priority: optional
Standards-Version: ${DEBIAN_STANDARDS_VERSION}
@@ -6,7 +6,7 @@ Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}), ${DEBIAN_BUILD_DEPENDS}
Maintainer: ${MAINTAINER}
Rules-Requires-Root: no
-Package: ${PN}
+Package: ${BPN}
Architecture: any
Depends: ${KERNEL_IMAGE_PKG}, kmod
Description: ${DESCRIPTION}
diff --git a/meta/recipes-kernel/linux-module/files/debian/rules.tmpl b/meta/recipes-kernel/linux-module/files/debian/rules.tmpl
index ff8d551a..66b0e87d 100755
--- a/meta/recipes-kernel/linux-module/files/debian/rules.tmpl
+++ b/meta/recipes-kernel/linux-module/files/debian/rules.tmpl
@@ -62,7 +62,7 @@ ifneq ($(filter pkg.signwith,$(DEB_BUILD_PROFILES)),)
endif
override_dh_auto_install:
- $(MAKE) -C $(KDIR) M=${MODULE_DIR} INSTALL_MOD_PATH=$(PWD)/debian/${PN} modules_install
+ $(MAKE) -C $(KDIR) M=${MODULE_DIR} INSTALL_MOD_PATH=$(PWD)/debian/${BPN} modules_install
%:
CFLAGS= LDFLAGS= dh $@
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20261112083859.3152361-4-felix.moessbauer%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] Use BPN instead of PN for package naming
2026-11-12 8:38 [PATCH 0/3] Use BPN instead of PN for package naming 'Felix Moessbauer' via isar-users
` (2 preceding siblings ...)
2026-11-12 8:38 ` [PATCH 3/3] debian templates: name package after BPN instead of PN 'Felix Moessbauer' via isar-users
@ 2026-11-13 15:32 ` Zhihang Wei
3 siblings, 0 replies; 5+ messages in thread
From: Zhihang Wei @ 2026-11-13 15:32 UTC (permalink / raw)
To: Felix Moessbauer, isar-users
Applied to next, thanks.
Zhihang
On 11/12/26 09:38, 'Felix Moessbauer' via isar-users wrote:
> As the source packages are shared across architectures, we must not
> use PN for any templating. This series cleans this up across the
> codebase.
>
> Best regards,
> Felix
>
> Felix Moessbauer (3):
> debianize: services are named after BPN not PN
> dpkg-raw: do not leak package variants into debian package
> debian templates: name package after BPN instead of PN
>
> .../optee-examples/files/debian/control.tmpl | 26 +++++++-------
> .../optee-examples-stm32mp15x_3.21.0.bb | 36 +++++++++----------
> meta/classes-recipe/debianize.bbclass | 6 ++--
> meta/classes-recipe/dpkg-raw.bbclass | 3 +-
> meta/classes-recipe/dracut-module.bbclass | 2 +-
> meta/classes-recipe/linux-module.bbclass | 4 +--
> .../optee-client/files/debian/control.tmpl | 2 +-
> .../optee-ftpm/files/debian/control.tmpl | 4 +--
> .../linux-module/files/debian/control.tmpl | 4 +--
> .../linux-module/files/debian/rules.tmpl | 2 +-
> 10 files changed, 45 insertions(+), 44 deletions(-)
>
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/046ad863-2b52-4671-a7d0-ab886acc20ea%40ilbers.de.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-13 15:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 8:38 [PATCH 0/3] Use BPN instead of PN for package naming 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 1/3] debianize: services are named after BPN not PN 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 2/3] dpkg-raw: do not leak package variants into debian package 'Felix Moessbauer' via isar-users
2026-11-12 8:38 ` [PATCH 3/3] debian templates: name package after BPN instead of PN 'Felix Moessbauer' via isar-users
2026-11-13 15:32 ` [PATCH 0/3] Use BPN instead of PN for package naming Zhihang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox