public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] debianize: Introduce DEBIAN_MULTI_ARCH
@ 2023-10-26 15:00 Florian Bezdeka
  2023-10-30  2:30 ` MOESSBAUER, Felix
  2023-11-01  7:13 ` Uladzimir Bely
  0 siblings, 2 replies; 3+ messages in thread
From: Florian Bezdeka @ 2023-10-26 15:00 UTC (permalink / raw)
  To: isar-users; +Cc: adriaan.schmidt, Florian Bezdeka

Allow setting the Multi-Arch field for auto generated control files. The
default is set to "no" which is the pre-multiarch behavior.

Recipes can simply overwrite the Multi-Arch field now by defining the
DEBIAN_MULTI_ARCH variable.

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
---
 meta/classes/debianize.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass
index f6ce11a2..16f3638d 100644
--- a/meta/classes/debianize.bbclass
+++ b/meta/classes/debianize.bbclass
@@ -9,6 +9,7 @@ DPKG_ARCH ??= "any"
 DEBIAN_BUILD_DEPENDS ??= ""
 DEBIAN_DEPENDS ??= ""
 DEBIAN_CONFLICTS ??= ""
+DEBIAN_MULTI_ARCH ??= "no"
 DESCRIPTION ??= "must not be empty"
 MAINTAINER ??= "Unknown maintainer <unknown@example.com>"
 
@@ -77,6 +78,7 @@ Package: ${BPN}
 Architecture: ${DPKG_ARCH}
 Depends: ${DEBIAN_DEPENDS}
 Conflicts: ${DEBIAN_CONFLICTS}
+Multi-Arch: ${DEBIAN_MULTI_ARCH}
 Description: ${DESCRIPTION}
 EOF
 }
-- 
2.41.0


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

end of thread, other threads:[~2023-11-01  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-26 15:00 [PATCH] debianize: Introduce DEBIAN_MULTI_ARCH Florian Bezdeka
2023-10-30  2:30 ` MOESSBAUER, Felix
2023-11-01  7: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