* [kirkstone][master][PATCH] apt: fix do_package_qa failure
@ 2022-07-27 5:39 changqing.li
2022-07-27 11:51 ` [OE-core] " Alexander Kanavin
0 siblings, 1 reply; 4+ messages in thread
From: changqing.li @ 2022-07-27 5:39 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]
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 1d94dd118c..d79a33857a 100644
--- a/meta/recipes-devtools/apt/apt_2.4.5.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
@@ -123,6 +123,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] 4+ messages in thread
* Re: [OE-core] [kirkstone][master][PATCH] apt: fix do_package_qa failure
2022-07-27 5:39 [kirkstone][master][PATCH] apt: fix do_package_qa failure changqing.li
@ 2022-07-27 11:51 ` Alexander Kanavin
2022-07-28 3:53 ` Changqing Li
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2022-07-27 11:51 UTC (permalink / raw
To: Changqing Li; +Cc: OE-core
What is actually being installed in there? Is it really right to remove it?
Alex
On Wed, 27 Jul 2022 at 07:39, Changqing Li <changqing.li@windriver.com> 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]
>
> 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 1d94dd118c..d79a33857a 100644
> --- a/meta/recipes-devtools/apt/apt_2.4.5.bb
> +++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
> @@ -123,6 +123,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
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#168542): https://lists.openembedded.org/g/openembedded-core/message/168542
> Mute This Topic: https://lists.openembedded.org/mt/92643987/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] [kirkstone][master][PATCH] apt: fix do_package_qa failure
2022-07-27 11:51 ` [OE-core] " Alexander Kanavin
@ 2022-07-28 3:53 ` Changqing Li
2022-07-28 7:05 ` Alexander Kanavin
0 siblings, 1 reply; 4+ messages in thread
From: Changqing Li @ 2022-07-28 3:53 UTC (permalink / raw
To: Alexander Kanavin; +Cc: OE-core
On 7/27/22 19:51, Alexander Kanavin wrote:
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
> What is actually being installed in there? Is it really right to remove it?
An empty dir apt is installed under /var/log/. It should be ok to remove
it since apt could create it when it doesn't exist.
We have remove it for target. So I do the same for nativesdk. Another
solution could be INSANE_SKIP the empty-dirs.
How do you think?
Changqing
>
> Alex
>
> On Wed, 27 Jul 2022 at 07:39, Changqing Li <changqing.li@windriver.com> 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]
>>
>> 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 1d94dd118c..d79a33857a 100644
>> --- a/meta/recipes-devtools/apt/apt_2.4.5.bb
>> +++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
>> @@ -123,6 +123,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
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#168542): https://lists.openembedded.org/g/openembedded-core/message/168542
>> Mute This Topic: https://lists.openembedded.org/mt/92643987/1686489
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] [kirkstone][master][PATCH] apt: fix do_package_qa failure
2022-07-28 3:53 ` Changqing Li
@ 2022-07-28 7:05 ` Alexander Kanavin
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Kanavin @ 2022-07-28 7:05 UTC (permalink / raw
To: Changqing Li; +Cc: OE-core
On Thu, 28 Jul 2022 at 05:53, Changqing Li <changqing.li@windriver.com> wrote:
> An empty dir apt is installed under /var/log/. It should be ok to remove
> it since apt could create it when it doesn't exist.
>
> We have remove it for target. So I do the same for nativesdk. Another
> solution could be INSANE_SKIP the empty-dirs.
>
> How do you think?
That is fine, but please resend with this information in the commit message.
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-07-28 7:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-27 5:39 [kirkstone][master][PATCH] apt: fix do_package_qa failure changqing.li
2022-07-27 11:51 ` [OE-core] " Alexander Kanavin
2022-07-28 3:53 ` Changqing Li
2022-07-28 7:05 ` Alexander Kanavin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.