diff mbox series

recipes-devtools: use DPKG_ARCH=all for arch-independent packages

Message ID 20240413091508.2429170-1-cedric.hombourger@siemens.com (mailing list archive)
State New
Headers show
Series recipes-devtools: use DPKG_ARCH=all for arch-independent packages | expand

Commit Message

cedric.hombourger@siemens.com April 13, 2024, 9:15 a.m. UTC
Most devtools packages are architecture-independent and should really
be built with "Package: all" instead of "Package: any". Bump PV for
all affected packages (to be "apt full-upgrade" friendly).

Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
---
 ...g-secure-boot-signer_0.1.bb => ebg-secure-boot-signer_0.2.bb} | 1 +
 .../{secure-boot-key_0.1.bb => secure-boot-key_0.2.bb}           | 0
 recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc     | 1 +
 .../{secure-boot-snakeoil_0.1.bb => secure-boot-snakeoil_0.2.bb} | 0
 ...snakeoil_0.1.bb => swupdate-certificates-key-snakeoil_0.2.bb} | 0
 .../swupdate-certificates/swupdate-certificates-key.inc          | 1 +
 ...-certificates-key_0.1.bb => swupdate-certificates-key_0.2.bb} | 0
 recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1 +
 ...swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} | 0
 9 files changed, 4 insertions(+)
 rename recipes-devtools/ebg-secure-boot-signer/{ebg-secure-boot-signer_0.1.bb => ebg-secure-boot-signer_0.2.bb} (96%)
 rename recipes-devtools/secure-boot-secrets/{secure-boot-key_0.1.bb => secure-boot-key_0.2.bb} (100%)
 rename recipes-devtools/secure-boot-secrets/{secure-boot-snakeoil_0.1.bb => secure-boot-snakeoil_0.2.bb} (100%)
 rename recipes-devtools/swupdate-certificates/{swupdate-certificates-key-snakeoil_0.1.bb => swupdate-certificates-key-snakeoil_0.2.bb} (100%)
 rename recipes-devtools/swupdate-certificates/{swupdate-certificates-key_0.1.bb => swupdate-certificates-key_0.2.bb} (100%)
 rename recipes-devtools/swupdate-certificates/{swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} (100%)

Comments

Jan Kiszka April 13, 2024, 9:51 a.m. UTC | #1
On 13.04.24 11:15, Cedric Hombourger wrote:
> Most devtools packages are architecture-independent and should really
> be built with "Package: all" instead of "Package: any". Bump PV for
> all affected packages (to be "apt full-upgrade" friendly).
> 
> Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
> ---
>  ...g-secure-boot-signer_0.1.bb => ebg-secure-boot-signer_0.2.bb} | 1 +
>  .../{secure-boot-key_0.1.bb => secure-boot-key_0.2.bb}           | 0
>  recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc     | 1 +
>  .../{secure-boot-snakeoil_0.1.bb => secure-boot-snakeoil_0.2.bb} | 0
>  ...snakeoil_0.1.bb => swupdate-certificates-key-snakeoil_0.2.bb} | 0
>  .../swupdate-certificates/swupdate-certificates-key.inc          | 1 +
>  ...-certificates-key_0.1.bb => swupdate-certificates-key_0.2.bb} | 0
>  recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1 +
>  ...swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} | 0
>  9 files changed, 4 insertions(+)
>  rename recipes-devtools/ebg-secure-boot-signer/{ebg-secure-boot-signer_0.1.bb => ebg-secure-boot-signer_0.2.bb} (96%)
>  rename recipes-devtools/secure-boot-secrets/{secure-boot-key_0.1.bb => secure-boot-key_0.2.bb} (100%)
>  rename recipes-devtools/secure-boot-secrets/{secure-boot-snakeoil_0.1.bb => secure-boot-snakeoil_0.2.bb} (100%)
>  rename recipes-devtools/swupdate-certificates/{swupdate-certificates-key-snakeoil_0.1.bb => swupdate-certificates-key-snakeoil_0.2.bb} (100%)
>  rename recipes-devtools/swupdate-certificates/{swupdate-certificates-key_0.1.bb => swupdate-certificates-key_0.2.bb} (100%)
>  rename recipes-devtools/swupdate-certificates/{swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} (100%)
> 
> diff --git a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.1.bb b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
> similarity index 96%
> rename from recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.1.bb
> rename to recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
> index 57ad1be..83289d4 100644
> --- a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.1.bb
> +++ b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
> @@ -16,6 +16,7 @@ DESCRIPTION = "Signing script for EFI Boot Guard setups"
>  
>  DEPENDS = "secure-boot-secrets"
>  DEBIAN_DEPENDS = "sbsigntool, secure-boot-secrets, faketime"
> +DPKG_ARCH = "all"
>  
>  SRC_URI = "file://sign_secure_image.sh"
>  
> diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-key_0.1.bb b/recipes-devtools/secure-boot-secrets/secure-boot-key_0.2.bb
> similarity index 100%
> rename from recipes-devtools/secure-boot-secrets/secure-boot-key_0.1.bb
> rename to recipes-devtools/secure-boot-secrets/secure-boot-key_0.2.bb
> diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
> index 76233b3..859637f 100644
> --- a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
> +++ b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
> @@ -11,6 +11,7 @@
>  
>  inherit dpkg-raw
>  
> +DPKG_ARCH = "all"
>  PROVIDES += "secure-boot-secrets"
>  
>  SB_KEY ??= ""
> diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.1.bb b/recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.2.bb
> similarity index 100%
> rename from recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.1.bb
> rename to recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.2.bb
> diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.2.bb
> similarity index 100%
> rename from recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.1.bb
> rename to recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.2.bb
> diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc b/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc
> index 2c67e89..944c2dc 100644
> --- a/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc
> +++ b/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc
> @@ -13,6 +13,7 @@ inherit dpkg-raw
>  
>  FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
>  
> +DPKG_ARCH = "all"
>  PROVIDES += "swupdate-certificates-key"
>  
>  SWU_SIGN_KEY ??= ""
> diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.2.bb
> similarity index 100%
> rename from recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.1.bb
> rename to recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.2.bb
> diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
> index 564dda4..d319d8e 100644
> --- a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
> +++ b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
> @@ -13,6 +13,7 @@ inherit dpkg-raw
>  
>  FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
>  
> +DPKG_ARCH = "all"
>  PROVIDES += "swupdate-certificates"
>  
>  SWU_SIGN_CERT ??= ""
> diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates_0.2.bb
> similarity index 100%
> rename from recipes-devtools/swupdate-certificates/swupdate-certificates_0.1.bb
> rename to recipes-devtools/swupdate-certificates/swupdate-certificates_0.2.bb

I think you missed to also bumb
recipes-devtools/swupdate-certificates/swupdate-certificates-snakeoil_0.1.bb.

Jan
diff mbox series

Patch

diff --git a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.1.bb b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
similarity index 96%
rename from recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.1.bb
rename to recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
index 57ad1be..83289d4 100644
--- a/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.1.bb
+++ b/recipes-devtools/ebg-secure-boot-signer/ebg-secure-boot-signer_0.2.bb
@@ -16,6 +16,7 @@  DESCRIPTION = "Signing script for EFI Boot Guard setups"
 
 DEPENDS = "secure-boot-secrets"
 DEBIAN_DEPENDS = "sbsigntool, secure-boot-secrets, faketime"
+DPKG_ARCH = "all"
 
 SRC_URI = "file://sign_secure_image.sh"
 
diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-key_0.1.bb b/recipes-devtools/secure-boot-secrets/secure-boot-key_0.2.bb
similarity index 100%
rename from recipes-devtools/secure-boot-secrets/secure-boot-key_0.1.bb
rename to recipes-devtools/secure-boot-secrets/secure-boot-key_0.2.bb
diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
index 76233b3..859637f 100644
--- a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
+++ b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc
@@ -11,6 +11,7 @@ 
 
 inherit dpkg-raw
 
+DPKG_ARCH = "all"
 PROVIDES += "secure-boot-secrets"
 
 SB_KEY ??= ""
diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.1.bb b/recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.2.bb
similarity index 100%
rename from recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.1.bb
rename to recipes-devtools/secure-boot-secrets/secure-boot-snakeoil_0.2.bb
diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.2.bb
similarity index 100%
rename from recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.1.bb
rename to recipes-devtools/swupdate-certificates/swupdate-certificates-key-snakeoil_0.2.bb
diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc b/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc
index 2c67e89..944c2dc 100644
--- a/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc
+++ b/recipes-devtools/swupdate-certificates/swupdate-certificates-key.inc
@@ -13,6 +13,7 @@  inherit dpkg-raw
 
 FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
 
+DPKG_ARCH = "all"
 PROVIDES += "swupdate-certificates-key"
 
 SWU_SIGN_KEY ??= ""
diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.2.bb
similarity index 100%
rename from recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.1.bb
rename to recipes-devtools/swupdate-certificates/swupdate-certificates-key_0.2.bb
diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
index 564dda4..d319d8e 100644
--- a/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
+++ b/recipes-devtools/swupdate-certificates/swupdate-certificates.inc
@@ -13,6 +13,7 @@  inherit dpkg-raw
 
 FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
 
+DPKG_ARCH = "all"
 PROVIDES += "swupdate-certificates"
 
 SWU_SIGN_CERT ??= ""
diff --git a/recipes-devtools/swupdate-certificates/swupdate-certificates_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates_0.2.bb
similarity index 100%
rename from recipes-devtools/swupdate-certificates/swupdate-certificates_0.1.bb
rename to recipes-devtools/swupdate-certificates/swupdate-certificates_0.2.bb