]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
apt: fix do_package_qa failure
authorChangqing Li <changqing.li@windriver.com>
Tue, 31 Jan 2023 09:40:13 +0000 (17:40 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Feb 2023 09:49:59 +0000 (09:49 +0000)
commit5b035a59d7915da784f1e6678ee130f30d7ceb8a
tree06674947d18e07d86aecb0cd0aef41b42ccaf1e1
parent26c74fd10614582e177437608908eb43688ab510
apt: fix do_package_qa failure

bitbake nativesdk-apt failed with error:
ERROR: nativesdk-apt-2.4.5-r0 do_package_qa: QA Issue: nativesdk-apt installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs]

an empty dir apt is installed under /var/log/, fix the failure
by removing the empty dir apt as what we have done for target.
apt will create it when it does not exist.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/apt/apt_2.4.5.bb