From b2b53798f3bdb3b5a42517416c9cde0c8d42dd2c Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Tue, 31 Jan 2023 17:40:13 +0800 Subject: 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. (From OE-Core rev: 5b035a59d7915da784f1e6678ee130f30d7ceb8a) Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- meta/recipes-devtools/apt/apt_2.4.5.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/apt') diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb b/meta/recipes-devtools/apt/apt_2.4.5.bb index 4ecbf98554..7af9792a0d 100644 --- a/meta/recipes-devtools/apt/apt_2.4.5.bb +++ b/meta/recipes-devtools/apt/apt_2.4.5.bb @@ -127,6 +127,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() { -- cgit v1.2.3-54-g00ecf