diff options
author | Changqing Li <changqing.li@windriver.com> | 2023-01-31 17:40:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-02 09:50:02 +0000 |
commit | b2b53798f3bdb3b5a42517416c9cde0c8d42dd2c (patch) | |
tree | 869a2e9605fbacaa5c8d0aa02df45f28c434c6f5 /meta/recipes-devtools/apt | |
parent | 94149c4f374f31d5c780fd33e947170530cd81ec (diff) | |
download | poky-b2b53798f3bdb3b5a42517416c9cde0c8d42dd2c.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: 5b035a59d7915da784f1e6678ee130f30d7ceb8a)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt')
-rw-r--r-- | meta/recipes-devtools/apt/apt_2.4.5.bb | 1 |
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 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() { | |||
127 | 127 | ||
128 | do_install:append:class-nativesdk() { | 128 | do_install:append:class-nativesdk() { |
129 | customize_apt_conf_sample | 129 | customize_apt_conf_sample |
130 | rm -rf ${D}${localstatedir}/log | ||
130 | } | 131 | } |
131 | 132 | ||
132 | do_install:append:class-target() { | 133 | do_install:append:class-target() { |