Re: [cip-dev][isar-cip-core][PATCH] swupdate-config: Set DPKG_ARCH to any

Quirin Gylstorff <[email protected]>
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>

On 6/26/26 5:19 PM, Quirin Gylstorff via lists.cip-project.org wrote:
> From: Quirin Gylstorff <[email protected]>
> 
> This avoids the following error.
> 
> | Building dependency tree...
> | Reading state information...
> | Package swupdate-config is a virtual package provided by:
> |   swupdate-config-qemu-riscv64 0.2
> |   swupdate-config-qemu-arm64 0.2
> |
> | E: Package 'swupdate-config' has no installation candidate
> 
I need to send a v2. The error occurs with Debian sid when you build 
arm64 first and riscv64 afterwards. As a virtual package with 
recipe-name is created this leads apt seeing two packages with provides 
the content as both packages are providing an _all package.

Quirin
> This solution works in this case, but to confirm with the Debian
> standard we would need to add a conflict to all other versions of
> this packages.
> 
> Signed-off-by: Quirin Gylstorff <[email protected]>
> ---
>   .../{swupdate-config_0.2.bb => swupdate-config_0.3.bb}         | 3 +++
>   1 file changed, 3 insertions(+)
>   rename recipes-core/swupdate-config/{swupdate-config_0.2.bb => swupdate-config_0.3.bb} (90%)
> 
> diff --git a/recipes-core/swupdate-config/swupdate-config_0.2.bb b/recipes-core/swupdate-config/swupdate-config_0.3.bb
> similarity index 90%
> rename from recipes-core/swupdate-config/swupdate-config_0.2.bb
> rename to recipes-core/swupdate-config/swupdate-config_0.3.bb
> index b48e3d1..013b957 100644
> --- a/recipes-core/swupdate-config/swupdate-config_0.2.bb
> +++ b/recipes-core/swupdate-config/swupdate-config_0.3.bb
> @@ -19,6 +19,9 @@ DEBIAN_PROVIDES := "${PN}"
>   
>   PN .= "-${MACHINE}"
>   
> +# architecture specific package as it depends on the machine
> +DPKG_ARCH = "any"
> +
>   SRC_URI = "file://swupdate.cfg \
>              file://hwrevision.tmpl"
>   
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#23283): https://lists.cip-project.org/g/cip-dev/message/23283
> Mute This Topic: https://lists.cip-project.org/mt/119991285/1753640
> Group Owner: [email protected]
> Unsubscribe: https://lists.cip-project.org/g/cip-dev/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.