From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Chen Qi <Qi.Chen@windriver.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] base-files: exclude METADATA_REVISION for signature computation
Date: Sun, 14 Mar 2021 16:35:14 +0000 [thread overview]
Message-ID: <3d64079d725c3c0ddd31a117bffe41f64002970b.camel@linuxfoundation.org> (raw)
In-Reply-To: <20210308055241.13462-1-Qi.Chen@windriver.com>
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
next prev parent reply other threads:[~2021-03-14 16:35 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 [this message]
2021-03-15 1:51 ` Chen Qi
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=3d64079d725c3c0ddd31a117bffe41f64002970b.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=Qi.Chen@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 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.