From cb7663fe2b71b66b301fb2aafd772d744a4d736a Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 14 Apr 2024 13:43:10 -0700 Subject: ref-manual: add virtual-slash QA check Add the new virtual-slash QA check to the insane class section and the QA checks section. (From yocto-docs rev: fdca0217558185eca67f7ec04b9d282b7819d107) Signed-off-by: Paul Eggleton Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/ref-manual/qa-checks.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'documentation/ref-manual/qa-checks.rst') diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index 58526a0e57..53b1836e74 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst @@ -799,6 +799,14 @@ Errors and Warnings section in the Yocto Project Development Tasks Manual. See also the ":ref:`ref-classes-ptest`" section. +.. _qa-check-virtual-slash: + +- `` is set to 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.`` + + ``virtual/`` is a convention intended for use in the build context + (i.e. :term:`PROVIDES` and :term:`DEPENDS`) rather than the runtime + context (i.e. :term:`RPROVIDES` and :term:`RDEPENDS`). Use + :term:`VIRTUAL-RUNTIME` variables instead for the latter. Configuring and Disabling QA Checks -- cgit v1.2.3-54-g00ecf