Skip to content
Commit 9f3fbfc0 authored by Peter Kjellerstedt's avatar Peter Kjellerstedt Committed by Anuj Mittal
Browse files

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).

Signed-off-by: default avatarPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent d7fe71c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment