* [PATCH v2 0/1] recipes-devtools: use DPKG_ARCH=all for arch-independent packages
[not found] <17C5CC2DB0C515DA.10043@lists.cip-project.org>
@ 2024-04-13 10:01 ` Cedric Hombourger
2024-04-13 10:01 ` [PATCH v2 1/1] " Cedric Hombourger
0 siblings, 1 reply; 5+ messages in thread
From: Cedric Hombourger @ 2024-04-13 10:01 UTC (permalink / raw)
To: cip-dev; +Cc: Cedric Hombourger
Changes since v1:
* Add missing PV bump for swupdate-certificates-snakeoil
Reported-by: Jan Kiszka
Cedric Hombourger (1):
recipes-devtools: use DPKG_ARCH=all for arch-independent packages
...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
...tes-snakeoil_0.1.bb => swupdate-certificates-snakeoil_0.2.bb} | 0
recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1 +
...swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} | 0
10 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-snakeoil_0.1.bb => swupdate-certificates-snakeoil_0.2.bb} (100%)
rename recipes-devtools/swupdate-certificates/{swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} (100%)
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/1] recipes-devtools: use DPKG_ARCH=all for arch-independent packages
2024-04-13 10:01 ` [PATCH v2 0/1] recipes-devtools: use DPKG_ARCH=all for arch-independent packages Cedric Hombourger
@ 2024-04-13 10:01 ` Cedric Hombourger
2024-04-16 16:32 ` Jan Kiszka
2024-04-16 20:58 ` MOESSBAUER, Felix
0 siblings, 2 replies; 5+ messages in thread
From: Cedric Hombourger @ 2024-04-13 10:01 UTC (permalink / raw)
To: cip-dev; +Cc: Cedric Hombourger
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
...tes-snakeoil_0.1.bb => swupdate-certificates-snakeoil_0.2.bb} | 0
recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1 +
...swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} | 0
10 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-snakeoil_0.1.bb => swupdate-certificates-snakeoil_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-snakeoil_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates-snakeoil_0.2.bb
similarity index 100%
rename from recipes-devtools/swupdate-certificates/swupdate-certificates-snakeoil_0.1.bb
rename to recipes-devtools/swupdate-certificates/swupdate-certificates-snakeoil_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
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/1] recipes-devtools: use DPKG_ARCH=all for arch-independent packages
2024-04-13 10:01 ` [PATCH v2 1/1] " Cedric Hombourger
@ 2024-04-16 16:32 ` Jan Kiszka
2024-04-16 20:58 ` MOESSBAUER, Felix
1 sibling, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2024-04-16 16:32 UTC (permalink / raw)
To: Cedric Hombourger, cip-dev
On 13.04.24 12:01, 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
> ...tes-snakeoil_0.1.bb => swupdate-certificates-snakeoil_0.2.bb} | 0
> recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1 +
> ...swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} | 0
> 10 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-snakeoil_0.1.bb => swupdate-certificates-snakeoil_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-snakeoil_0.1.bb b/recipes-devtools/swupdate-certificates/swupdate-certificates-snakeoil_0.2.bb
> similarity index 100%
> rename from recipes-devtools/swupdate-certificates/swupdate-certificates-snakeoil_0.1.bb
> rename to recipes-devtools/swupdate-certificates/swupdate-certificates-snakeoil_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
Thanks, applied.
Please tag future cip-core patches with "[isar-cip-core]".
Jan
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/1] recipes-devtools: use DPKG_ARCH=all for arch-independent packages
2024-04-13 10:01 ` [PATCH v2 1/1] " Cedric Hombourger
2024-04-16 16:32 ` Jan Kiszka
@ 2024-04-16 20:58 ` MOESSBAUER, Felix
2024-04-17 14:56 ` Jan Kiszka
1 sibling, 1 reply; 5+ messages in thread
From: MOESSBAUER, Felix @ 2024-04-16 20:58 UTC (permalink / raw)
To: cip-dev, cedric.hombourger
On Sat, 2024-04-13 at 12:01 +0200, 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
> ...tes-snakeoil_0.1.bb => swupdate-certificates-snakeoil_0.2.bb} | 0
> recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1
> +
> ...swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} | 0
> 10 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-snakeoil_0.1.bb => swupdate-certificates-
> snakeoil_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"
Hi Cedric,
you are missing the multiarch specifier here, as otherwise this package
will not be accepted as a dependency when cross compiling.
Setting DEBIAN_MULTI_ARCH = "foreign" should do the trick.
For a longer discussion about why this is required for the arch=all
packages, see
https://lists.debian.org/debian-cross/2024/01/msg00012.html
Happy Coding!
Felix
>
> 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-snakeoil_0.1.bb b/recipes-devtools/swupdate-
> certificates/swupdate-certificates-snakeoil_0.2.bb
> similarity index 100%
> rename from recipes-devtools/swupdate-certificates/swupdate-
> certificates-snakeoil_0.1.bb
> rename to recipes-devtools/swupdate-certificates/swupdate-
> certificates-snakeoil_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
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/1] recipes-devtools: use DPKG_ARCH=all for arch-independent packages
2024-04-16 20:58 ` MOESSBAUER, Felix
@ 2024-04-17 14:56 ` Jan Kiszka
0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2024-04-17 14:56 UTC (permalink / raw)
To: MOESSBAUER, Felix, cip-dev, cedric.hombourger
On 16.04.24 22:58, MOESSBAUER, Felix wrote:
> On Sat, 2024-04-13 at 12:01 +0200, 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
>> ...tes-snakeoil_0.1.bb => swupdate-certificates-snakeoil_0.2.bb} | 0
>> recipes-devtools/swupdate-certificates/swupdate-certificates.inc | 1
>> +
>> ...swupdate-certificates_0.1.bb => swupdate-certificates_0.2.bb} | 0
>> 10 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-snakeoil_0.1.bb => swupdate-certificates-
>> snakeoil_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"
>
> Hi Cedric,
>
> you are missing the multiarch specifier here, as otherwise this package
> will not be accepted as a dependency when cross compiling.
>
> Setting DEBIAN_MULTI_ARCH = "foreign" should do the trick.
>
> For a longer discussion about why this is required for the arch=all
> packages, see
> https://lists.debian.org/debian-cross/2024/01/msg00012.html
>
Done that in next now in order to unbreak the pipeline (in this regard).
Thanks,
Jan
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-17 14:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <17C5CC2DB0C515DA.10043@lists.cip-project.org>
2024-04-13 10:01 ` [PATCH v2 0/1] recipes-devtools: use DPKG_ARCH=all for arch-independent packages Cedric Hombourger
2024-04-13 10:01 ` [PATCH v2 1/1] " Cedric Hombourger
2024-04-16 16:32 ` Jan Kiszka
2024-04-16 20:58 ` MOESSBAUER, Felix
2024-04-17 14:56 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.