From 9b5b62879979de3488c920f21ea358e72ff1e443 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 10 Feb 2024 07:44:36 +0000 Subject: 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 --- meta/classes-global/insane.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes-global') diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 828f618cda..9909526f51 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -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(): -- cgit v1.2.3-54-g00ecf