public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Changqing Li <changqing.li@windriver.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [kirkstone][master][PATCH V2] apt: fix do_package_qa failure
Date: Fri, 4 Nov 2022 08:45:07 +0800	[thread overview]
Message-ID: <b1b9cdfe-809a-2a27-e48e-bb2974b03921@windriver.com> (raw)
In-Reply-To: <17071B2BCB39B264.608@lists.openembedded.org>

ping

On 8/1/22 11:34, Changqing Li wrote:
> 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() {
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#168692): https://lists.openembedded.org/g/openembedded-core/message/168692
> Mute This Topic: https://lists.openembedded.org/mt/92740376/3616873
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [changqing.li@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


  parent reply	other threads:[~2022-11-04  0:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <17071B2BCB39B264.608@lists.openembedded.org>
2022-08-19 10:06 ` [OE-core] [kirkstone][master][PATCH V2] apt: fix do_package_qa failure Changqing Li
2022-11-04  0:45 ` Changqing Li [this message]
2022-11-21  1:57 ` Changqing Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b1b9cdfe-809a-2a27-e48e-bb2974b03921@windriver.com \
    --to=changqing.li@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox