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-15 21:46:56 +0000 |
| commit | 2bc0220290c9a3403f197f0e54b48bb00ac35973 (patch) | |
| tree | 03cc565e527b57fa2eeab5e8b757362da0c1009a | |
| parent | 54d0147307e0fb581db20603cfec58d74343a0de (diff) | |
| download | poky-2bc0220290c9a3403f197f0e54b48bb00ac35973.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: a7b4578296d584b53ae156cb23dbe5d2e0591569)
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.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 b5ada2ef55..9ebcdfd527 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() { | |||
| 117 | 117 | ||
| 118 | do_install:append:class-nativesdk() { | 118 | do_install:append:class-nativesdk() { |
| 119 | customize_apt_conf_sample | 119 | customize_apt_conf_sample |
| 120 | rm -rf ${D}${localstatedir}/log | ||
| 120 | } | 121 | } |
| 121 | 122 | ||
| 122 | do_install:append:class-target() { | 123 | do_install:append:class-target() { |
