summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/variables.rst
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2022-04-21 18:40:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-25 15:14:09 +0100
commitd89fbdfd16a9125664072ebb477935bd83ae4e5a (patch)
tree11bde3405b736a7236bccd2bffcc249f55996d28 /documentation/ref-manual/variables.rst
parentc3067e46c08958a46c66c62219aaed1788fd0ec3 (diff)
downloadpoky-d89fbdfd16a9125664072ebb477935bd83ae4e5a.tar.gz
ref-manual: add empty-dirs QA check and QA_EMPTY_DIRS*
This check is new in kirkstone. (From yocto-docs rev: baa483e75538013be3261f8c115b8a5364b24c60) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r--documentation/ref-manual/variables.rst22
1 files changed, 22 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 39801837ba..754e05c35a 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -6084,6 +6084,28 @@ system and gives an overview of their function and contents.
6084 In the previous example, 6084 In the previous example,
6085 the version of the dependency is :term:`PYTHON_PN`. 6085 the version of the dependency is :term:`PYTHON_PN`.
6086 6086
6087 :term:`QA_EMPTY_DIRS`
6088 Specifies a list of directories that are expected to be empty when
6089 packaging; if ``empty-dirs`` appears in :term:`ERROR_QA` or
6090 :term:`WARN_QA` these will be checked and an error or warning
6091 (respectively) will be produced.
6092
6093 The default :term:`QA_EMPTY_DIRS` value is set in
6094 :ref:`insane.bbclass <ref-classes-insane>`.
6095
6096 :term:`QA_EMPTY_DIRS_RECOMMENDATION`
6097 Specifies a recommendation for why a directory must be empty,
6098 which will be included in the error message if a specific directory
6099 is found to contain files. Must be overridden with the directory
6100 path to match on.
6101
6102 If no recommendation is specified for a directory, then the default
6103 "but it is expected to be empty" will be used.
6104
6105 An example message shows if files were present in '/dev'::
6106
6107 QA_EMPTY_DIRS_RECOMMENDATION:/dev = "but all devices must be created at runtime"
6108
6087 :term:`RANLIB` 6109 :term:`RANLIB`
6088 The minimal command and arguments to run ``ranlib``. 6110 The minimal command and arguments to run ``ranlib``.
6089 6111