diff mbox series

[isar-cip-core] recipes-devtools: remove setting of DEBIAN_MULTI_ARCH as foreign for DPKG_ARCH = "all"

Message ID 20241114094956.867473-1-srinuvasan.a@siemens.com (mailing list archive)
State New
Headers show
Series [isar-cip-core] recipes-devtools: remove setting of DEBIAN_MULTI_ARCH as foreign for DPKG_ARCH = "all" | expand

Commit Message

Arjunan, Srinu Nov. 14, 2024, 9:49 a.m. UTC
From: Srinuvasan A <srinuvasan.a@siemens.com>

If the recipes builds for all architectures, then the default Multi-Arch is
foreign, which is provided by ISAR, hence no need to set it explicitly
in the recipes.

Ref: https://github.com/ilbers/isar/commit/0816ae6e

Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
 .../ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb         | 1 -
 recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc     | 1 -
 recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1 -
 recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb      | 1 -
 recipes-devtools/swupdate-signer/swupdate-signer-empty.bb        | 1 -
 5 files changed, 5 deletions(-)

Comments

Jan Kiszka Nov. 14, 2024, 9:46 a.m. UTC | #1
On 14.11.24 10:49, srinuvasan.a@siemens.com wrote:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
> 
> If the recipes builds for all architectures, then the default Multi-Arch is
> foreign, which is provided by ISAR, hence no need to set it explicitly
> in the recipes.
> 
> Ref: https://github.com/ilbers/isar/commit/0816ae6e
> 
> Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
> ---
>  .../ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb         | 1 -
>  recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc     | 1 -
>  recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1 -
>  recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb      | 1 -
>  recipes-devtools/swupdate-signer/swupdate-signer-empty.bb        | 1 -
>  5 files changed, 5 deletions(-)
> 
> diff --git a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
> index 88512f6..83289d4 100644
> --- a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
> +++ b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
> @@ -17,7 +17,6 @@ DESCRIPTION = "Signing script for EFI Boot Guard setups"
>  DEPENDS = "secure-boot-secrets"
>  DEBIAN_DEPENDS = "sbsigntool, secure-boot-secrets, faketime"
>  DPKG_ARCH = "all"
> -DEBIAN_MULTI_ARCH = "foreign"
>  
>  SRC_URI = "file://sign_secure_image.sh"
>  
> diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
> index f11e93d..c1fc12f 100644
> --- a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
> +++ b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
> @@ -12,7 +12,6 @@
>  inherit dpkg-raw
>  
>  DPKG_ARCH = "all"
> -DEBIAN_MULTI_ARCH = "foreign"
>  PROVIDES += "secure-boot-secrets"
>  DEBIAN_PROVIDES = "secure-boot-secrets"
>  
> diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
> index 2532de6..43668db 100644
> --- a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
> +++ b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
> @@ -14,7 +14,6 @@ inherit dpkg-raw
>  FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
>  
>  DPKG_ARCH = "all"
> -DEBIAN_MULTI_ARCH = "foreign"
>  PROVIDES += "swupdate-certificates"
>  DEBIAN_PROVIDES = "swupdate-certificates"
>  
> diff --git a/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb b/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb
> index 3600c3d..17e64ad 100644
> --- a/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb
> +++ b/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb
> @@ -10,7 +10,6 @@
>  
>  inherit dpkg-raw
>  DPKG_ARCH = "all"
> -DEBIAN_MULTI_ARCH = "foreign"
>  
>  PROVIDES = "swupdate-signer"
>  DEBIAN_PROVIDES = "swupdate-signer"
> diff --git a/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb b/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb
> index 8522e5e..a999182 100644
> --- a/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb
> +++ b/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb
> @@ -10,7 +10,6 @@
>  
>  inherit dpkg-raw
>  DPKG_ARCH = "all"
> -DEBIAN_MULTI_ARCH = "foreign"
>  
>  PROVIDES = "swupdate-signer"
>  DEBIAN_PROVIDES = "swupdate-signer"

Thanks for the cleanups! Applied to next.

Jan
diff mbox series

Patch

diff --git a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
index 88512f6..83289d4 100644
--- a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
+++ b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
@@ -17,7 +17,6 @@  DESCRIPTION = "Signing script for EFI Boot Guard setups"
 DEPENDS = "secure-boot-secrets"
 DEBIAN_DEPENDS = "sbsigntool, secure-boot-secrets, faketime"
 DPKG_ARCH = "all"
-DEBIAN_MULTI_ARCH = "foreign"
 
 SRC_URI = "file://sign_secure_image.sh"
 
diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
index f11e93d..c1fc12f 100644
--- a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
+++ b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
@@ -12,7 +12,6 @@ 
 inherit dpkg-raw
 
 DPKG_ARCH = "all"
-DEBIAN_MULTI_ARCH = "foreign"
 PROVIDES += "secure-boot-secrets"
 DEBIAN_PROVIDES = "secure-boot-secrets"
 
diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
index 2532de6..43668db 100644
--- a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
+++ b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
@@ -14,7 +14,6 @@  inherit dpkg-raw
 FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
 
 DPKG_ARCH = "all"
-DEBIAN_MULTI_ARCH = "foreign"
 PROVIDES += "swupdate-certificates"
 DEBIAN_PROVIDES = "swupdate-certificates"
 
diff --git a/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb b/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb
index 3600c3d..17e64ad 100644
--- a/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb
+++ b/recipes-devtools/swupdate-signer/swupdate-signer-cms_0.1.bb
@@ -10,7 +10,6 @@ 
 
 inherit dpkg-raw
 DPKG_ARCH = "all"
-DEBIAN_MULTI_ARCH = "foreign"
 
 PROVIDES = "swupdate-signer"
 DEBIAN_PROVIDES = "swupdate-signer"
diff --git a/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb b/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb
index 8522e5e..a999182 100644
--- a/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb
+++ b/recipes-devtools/swupdate-signer/swupdate-signer-empty.bb
@@ -10,7 +10,6 @@ 
 
 inherit dpkg-raw
 DPKG_ARCH = "all"
-DEBIAN_MULTI_ARCH = "foreign"
 
 PROVIDES = "swupdate-signer"
 DEBIAN_PROVIDES = "swupdate-signer"