]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
insane: Clarify runtime/ warning
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 10 Feb 2024 07:44:36 +0000 (07:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Feb 2024 13:51:38 +0000 (13:51 +0000)
We should be pointing people at VIRTUAL-RUNTIME, not virtual so tweak
the warning. Try and make it clear the difference between the build
dependencies and the runtime ones.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/insane.bbclass

index 828f618cda1ada64c37ae2bf09cdcdded32cefae..9909526f51dce9a7a798a9ab1da1b272c444c480 100644 (file)
@@ -1611,7 +1611,7 @@ python () {
     for k in ['RDEPENDS', 'RPROVIDES']:
         for var in bb.utils.explode_deps(d.getVar(k + ':' + pn) or ""):
             if var.startswith("virtual/"):
-                bb.warn("%s is set to %s, the substring 'virtual/' holds no meaning in this context. It is suggested to use the 'virtual-' instead." % (k, var))
+                bb.warn("%s is set to %s but the substring 'virtual/' holds no meaning in this context. It only works for build time dependencies, not runtime ones. It is suggested to use 'VIRTUAL-RUNTIME_' variables instead." % (k, var))
 
     issues = []
     if (d.getVar('PACKAGES') or "").split():