libvirt: inhibit empty-dirs QA check

OEcore has recently added a QA check for directories that should
be empty. libvirt (via meson) creates some localsstate directories
for the various components. These trigger the QA check and break
the build.

We still have some non-volatile localstate (/var) scenarios, and
not seeing a distro feature that controls the QA check, and/or to
coordinate the removal of the populated directories, we inhibit
the QA check. In a boot with a volatile /var, the directories
will be overlayed and no harm will come, in a non-volatile
scenario, they'll be visible and no harm will come.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2021-11-12 15:44:03 +00:00
parent e13d364d7f
commit 7bc99cda52

View File

@ -54,6 +54,7 @@ EOF
}
ALLOW_EMPTY:${PN} = "1"
INSANE_SKIP:${PN} += "empty-dirs"
PACKAGES =+ "${PN}-libvirtd ${PN}-virsh"