All of lore.kernel.org
 help / color / mirror / Atom feed
* [nanbield][PATCH] containerd-opencontainers: Use RDEPENDS:${PN} instead of RDEPENDS:${BPN}
@ 2024-01-30 21:07 Peter Kjellerstedt
  2024-02-01 14:17 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Kjellerstedt @ 2024-01-30 21:07 UTC (permalink / raw)
  To: meta-virtualization

From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>

The original purpose of using BPN vs PN in the RDEPENDS was due to
32bit multilib issues. Those problems are no longer present, so we
can adjust this recipe to use the standard PN in rdepends.

This change avoids the following warning:

  WARNING: .../containerd-opencontainers_git.bb: Variable key
  RDEPENDS:${PN} (...) replaces original key
  RDEPENDS:containerd-opencontainers
  (  ${VIRTUAL-RUNTIME_container_runtime}).

if, e.g., RDEPENDS:${PN}:append = " ..." is used in a bbappend or
bbclass.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 recipes-containers/containerd/containerd-opencontainers_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb
index 78fe694..d365820 100644
--- a/recipes-containers/containerd/containerd-opencontainers_git.bb
+++ b/recipes-containers/containerd/containerd-opencontainers_git.bb
@@ -98,6 +98,6 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
 
 COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
 
-RDEPENDS:${BPN} += " ${VIRTUAL-RUNTIME_container_runtime}"
+RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}"
 
 CVE_PRODUCT = "containerd"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization] [nanbield][PATCH] containerd-opencontainers: Use RDEPENDS:${PN} instead of RDEPENDS:${BPN}
  2024-01-30 21:07 [nanbield][PATCH] containerd-opencontainers: Use RDEPENDS:${PN} instead of RDEPENDS:${BPN} Peter Kjellerstedt
@ 2024-02-01 14:17 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2024-02-01 14:17 UTC (permalink / raw)
  To: Peter Kjellerstedt; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization] [nanbield][PATCH] containerd-opencontainers: Use RDEPENDS:${PN} instead of RDEPENDS:${BPN}
on 30/01/2024 Peter Kjellerstedt wrote:

> From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> 
> The original purpose of using BPN vs PN in the RDEPENDS was due to
> 32bit multilib issues. Those problems are no longer present, so we
> can adjust this recipe to use the standard PN in rdepends.
> 
> This change avoids the following warning:
> 
>   WARNING: .../containerd-opencontainers_git.bb: Variable key
>   RDEPENDS:${PN} (...) replaces original key
>   RDEPENDS:containerd-opencontainers
>   (  ${VIRTUAL-RUNTIME_container_runtime}).
> 
> if, e.g., RDEPENDS:${PN}:append = " ..." is used in a bbappend or
> bbclass.
> 
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> ---
>  recipes-containers/containerd/containerd-opencontainers_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb
> index 78fe694..d365820 100644
> --- a/recipes-containers/containerd/containerd-opencontainers_git.bb
> +++ b/recipes-containers/containerd/containerd-opencontainers_git.bb
> @@ -98,6 +98,6 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
>  
>  COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
>  
> -RDEPENDS:${BPN} += " ${VIRTUAL-RUNTIME_container_runtime}"
> +RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}"
>  
>  CVE_PRODUCT = "containerd"

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8557): https://lists.yoctoproject.org/g/meta-virtualization/message/8557
> Mute This Topic: https://lists.yoctoproject.org/mt/104062968/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-01 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 21:07 [nanbield][PATCH] containerd-opencontainers: Use RDEPENDS:${PN} instead of RDEPENDS:${BPN} Peter Kjellerstedt
2024-02-01 14:17 ` [meta-virtualization] " Bruce Ashfield

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.