All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chen Qi" <Qi.Chen@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] base-files: exclude METADATA_REVISION for signature computation
Date: Mon, 15 Mar 2021 09:51:37 +0800	[thread overview]
Message-ID: <63484b29-897b-abb1-84df-061e21de393d@windriver.com> (raw)
In-Reply-To: <3d64079d725c3c0ddd31a117bffe41f64002970b.camel@linuxfoundation.org>

On 03/15/2021 12:35 AM, Richard Purdie wrote:
> On Mon, 2021-03-08 at 13:52 +0800, Chen Qi wrote:
>> A previous commit changes poky's DISTRO_VERSION to include METADATA_REVISION.
>>
>>    """
>>    poky.conf: do not write current date into distro version, use git hash instead
>>    """
>>
>> This results in base-files do_install depend on the METADATA_REVISION, which is not
>> expected, exclude it.
>>
>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>> ---
>>   meta/recipes-core/base-files/base-files_3.0.14.bb | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
>> index 94299431f6..338e75580f 100644
>> --- a/meta/recipes-core/base-files/base-files_3.0.14.bb
>> +++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
>> @@ -144,6 +144,7 @@ do_install_append_libc-glibc () {
>>   }
>>   
>>
>>   DISTRO_VERSION[vardepsexclude] += "DATE"
>> +DISTRO_VERSION[vardepsexclude] += "METADATA_REVISION"
>>   do_install_basefilesissue () {
>>   	install -m 644 ${WORKDIR}/issue*  ${D}${sysconfdir}
>>           if [ -n "${DISTRO_NAME}" ]; then
> Unfortunately this causes cache validation issues and hence
> multilib conflicts:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/3222
>
> Cheers,
>
> Richard
>
>
Thanks. I think we can drop this patch.
We record meta data revision in base-files, we have 'base-files' in 
SIGGEN_EXCLUDERECIPES_ABISAFE, and we record METADATA_REVISION in eSDK 
to avoid warning. Current status is good from my point of view.

Best Regards,
Chen Qi

      reply	other threads:[~2021-03-15  1:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08  5:52 [OE-core][PATCH] base-files: exclude METADATA_REVISION for signature computation Chen Qi
2021-03-14 16:35 ` Richard Purdie
2021-03-15  1:51   ` Chen Qi [this message]

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=63484b29-897b-abb1-84df-061e21de393d@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 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.