mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
insane: Clarify runtime/ warning
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. (From OE-Core rev: 01d815aa2c0bea113fb79b51bf67c0ff90d57dd2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user