diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-10 07:44:36 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-13 13:51:41 +0000 |
| commit | 9b5b62879979de3488c920f21ea358e72ff1e443 (patch) | |
| tree | 6a5ab946101b691c3b280a87a975c686dd6fbb18 /meta/classes-global | |
| parent | 598e1db8e63c4224203cee27ed1941601ef9d19c (diff) | |
| download | poky-9b5b62879979de3488c920f21ea358e72ff1e443.tar.gz | |
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>
Diffstat (limited to 'meta/classes-global')
| -rw-r--r-- | meta/classes-global/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
| 1611 | for k in ['RDEPENDS', 'RPROVIDES']: | 1611 | for k in ['RDEPENDS', 'RPROVIDES']: |
| 1612 | for var in bb.utils.explode_deps(d.getVar(k + ':' + pn) or ""): | 1612 | for var in bb.utils.explode_deps(d.getVar(k + ':' + pn) or ""): |
| 1613 | if var.startswith("virtual/"): | 1613 | if var.startswith("virtual/"): |
| 1614 | 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)) | 1614 | 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)) |
| 1615 | 1615 | ||
| 1616 | issues = [] | 1616 | issues = [] |
| 1617 | if (d.getVar('PACKAGES') or "").split(): | 1617 | if (d.getVar('PACKAGES') or "").split(): |
