* [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
* Re: [PATCH] debianize: Introduce DEBIAN_MULTI_ARCH
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
1 sibling, 0 replies; 3+ messages in thread
From: MOESSBAUER, Felix @ 2023-10-30 2:30 UTC (permalink / raw)
To: Bezdeka, Florian, isar-users; +Cc: Schmidt, Adriaan
On Thu, 2023-10-26 at 17:00 +0200, 'Florian Bezdeka' via isar-users
wrote:
> 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.
Yes, this is definitely needed when building + co-installing library
packages for both target and target-compat arch.
Acked-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Felix
>
> 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
* Re: [PATCH] debianize: Introduce DEBIAN_MULTI_ARCH
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
1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2023-11-01 7:13 UTC (permalink / raw)
To: Florian Bezdeka, isar-users; +Cc: adriaan.schmidt
On Thu, 2023-10-26 at 17:00 +0200, 'Florian Bezdeka' via isar-users
wrote:
> 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
>
Applied to next, thanks.
^ 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