> -----Original Message-----
> From: Bruce Ashfield <[email protected]>
> Sent: den 15 januari 2024 18:10
> To: Peter Kjellerstedt <[email protected]>
> Cc: [email protected]
> Subject: Re: [meta-virtualization] [PATCH] containerd-opencontainers: Use
> RDEPENDS:${PN} instead of RDEPENDS:${BPN}
>
> On Mon, Jan 15, 2024 at 12:00 PM Peter Kjellerstedt
> <[email protected]> wrote:
> >
> > This 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.
>
> All that the above commit message does is explain the syntax
> of what you are fixing .. but not why.
>
> We had the BPN rdepends on purpose, showing why that
> original purpose is not needed ... should be in the commit
> message.
I have no idea why it was RDEPENDS:${BPN} rather than RDEPENDS:${PN},
I only assumed it was a typo. There is nothing in the original commit
that indicates that it was done on purpose.
>
> My answer right now would be .. .don't use PN in your bbappend
> and you can avoid the warning.
The problem in my case is that our addition to RDEPENDS:${PN} is done in
a common bbclass, so I cannot control it per recipe.
//Peter
>
> Bruce
>
> > Signed-off-by: Peter Kjellerstedt <[email protected]>
> > ---
> > 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 5c1e127..1dadf28 100644
> > --- a/recipes-containers/containerd/containerd-opencontainers_git.bb
> > +++ b/recipes-containers/containerd/containerd-opencontainers_git.bb
> > @@ -95,6 +95,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"
> >
> >
> >
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8543):
https://lists.yoctoproject.org/g/meta-virtualization/message/8543
Mute This Topic: https://lists.yoctoproject.org/mt/103743235/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-