[kirkstone][master][PATCH] apt: fix do_package_qa failure


Changqing Li
 

From: Changqing Li <changqing.li@...>

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]

Signed-off-by: Changqing Li <changqing.li@...>
---
meta/recipes-devtools/apt/apt_2.4.5.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb b/meta/recipes-devtools/apt/apt_2.4.5.bb
index 1d94dd118c..d79a33857a 100644
--- a/meta/recipes-devtools/apt/apt_2.4.5.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
@@ -123,6 +123,7 @@ do_install:append:class-native() {

do_install:append:class-nativesdk() {
customize_apt_conf_sample
+ rm -rf ${D}${localstatedir}/log
}

do_install:append:class-target() {
--
2.25.1

Join openembedded-core@lists.openembedded.org to automatically receive all group messages.