diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-11-13 13:25:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-21 11:41:39 +0000 |
commit | b6b0af0889de9da0e4128cef8c9069b770b7d5a0 (patch) | |
tree | 0d0d747acc26e4343acaec68b130877efdeea357 /meta/conf/documentation.conf | |
parent | 9594c5893ba5abde3dae87a39ff262ae078aab8b (diff) | |
download | poky-b6b0af0889de9da0e4128cef8c9069b770b7d5a0.tar.gz |
insane.bbclass: Add a check for directories that are expected to be empty
The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:<path>,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.
Compared to the corresponding patch for master, there are two
differences:
* "/var/volatile" is not added to QA_EMPTY_DIRS by default, and
* "empty-dirs" is not enabled in ERROR_QA (nor in WARN_QA).
(From OE-Core rev: 9f3fbfc02ae6fadffbcc1bda1fa75dfe140d05c5)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/documentation.conf')
-rw-r--r-- | meta/conf/documentation.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index c5a38b0764..d38a88fb49 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -345,6 +345,8 @@ PYPI_SRC_URI[doc] = "The URI to use to fetch from pypi, default uses pythonhoste | |||
345 | 345 | ||
346 | #Q | 346 | #Q |
347 | 347 | ||
348 | QA_EMPTY_DIRS[doc] = "A list of directories that are expected to be empty." | ||
349 | QA_EMPTY_DIRS_RECOMMENDATION[doc] = "This specifies a recommendation for a directory why it must be empty, which will be included in the error message if the directory is not empty." | ||
348 | QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for use with qmake." | 350 | QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for use with qmake." |
349 | 351 | ||
350 | #R | 352 | #R |