summaryrefslogtreecommitdiffstats
path: root/scripts/lib/buildstats.py
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2022-12-05 16:56:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-23 23:05:57 +0000
commit4ca06c560ebaa721827854aab329423c090c26ac (patch)
treeef27aeab1feff428ec981b1d43fd4e368adb7ef4 /scripts/lib/buildstats.py
parent3399c194d4d4f76175cd24a39bdcbba119af6f4a (diff)
downloadpoky-4ca06c560ebaa721827854aab329423c090c26ac.tar.gz
kernel.bbclass: remove empty module directories to prevent QA issues
Currently, allyesconfig test runs for x86_64 fail with: ERROR: linux-yocto-5.19.17+gitAUTOINC+0cba9aa404_aaf4490d18-r0 do_package: QA Issue: linux-yocto: Files/directories were installed but not shipped in any package: /lib/modules/5.19.17/kernel/drivers/nvdimm With CONFIG_NVDIMM_TEST_BUILD=m, an empty nvdimm directory is created during modules_install, which triggers the QA issue. Extend kernel_do_install() to also remove inner empty directories that might get created by modules_install. (From OE-Core rev: 141a42ba690dc56fb9b52f06d09ed3cef3fe4748) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 7120b09a33af4c9a18063c0f2e51fb598697e39c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/buildstats.py')
0 files changed, 0 insertions, 0 deletions