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. My answer right now would be .. .don't use PN in your bbappend and you can avoid the warning. 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 (#8539): https://lists.yoctoproject.org/g/meta-virtualization/message/8539 Mute This Topic: https://lists.yoctoproject.org/mt/103743235/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/leave/6693005/21656/1014668956/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
