* [kirkstone][master][PATCH V2] apt: fix do_package_qa failure
@ 2022-08-01 3:34 changqing.li
0 siblings, 0 replies; only message in thread
From: changqing.li @ 2022-08-01 3:34 UTC (permalink / raw)
To: openembedded-core
From: Changqing Li <changqing.li@windriver.com>
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>
---
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 95c25e3036..cb29c41ce0 100644
--- a/meta/recipes-devtools/apt/apt_2.4.5.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
@@ -117,6 +117,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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-01 3:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-01 3:34 [kirkstone][master][PATCH V2] apt: fix do_package_qa failure changqing.li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox