summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2023-01-31 17:40:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-15 21:47:00 +0000
commitab5459240704006749f4ac30a0d3c2f3143a43f6 (patch)
tree5dc7b67aed4efe63f053bfda17875010f0f72478
parentbd6d3f995030136092746ed4a612f59f7bdca753 (diff)
downloadpoky-ab5459240704006749f4ac30a0d3c2f3143a43f6.tar.gz
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: 92f001f231a905e0a5c035c9de0e1ca502ba5a8c) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5b035a59d7915da784f1e6678ee130f30d7ceb8a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/apt/apt_2.4.5.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb b/meta/recipes-devtools/apt/apt_2.4.5.bb
index 4b9f804039..ccdbd3d652 100644
--- a/meta/recipes-devtools/apt/apt_2.4.5.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
@@ -126,6 +126,7 @@ do_install:append:class-native() {
126 126
127do_install:append:class-nativesdk() { 127do_install:append:class-nativesdk() {
128 customize_apt_conf_sample 128 customize_apt_conf_sample
129 rm -rf ${D}${localstatedir}/log
129} 130}
130 131
131do_install:append:class-target() { 132do_install:append:class-target() {