From: Uladzimir Bely <ubely@ilbers.de>
To: Felix Moessbauer <felix.moessbauer@siemens.com>,
isar-users@googlegroups.com
Cc: adriaan.schmidt@siemens.com
Subject: Re: [PATCH 1/1] imager: fix caching issue by excluding BITBAKEDIR
Date: Wed, 01 Nov 2023 10:12:50 +0300 [thread overview]
Message-ID: <f1dd13b8fa0b25fa7e3e052c6a3858fcc897aa8b.camel@ilbers.de> (raw)
In-Reply-To: <20231025060842.1556755-1-felix.moessbauer@siemens.com>
On Wed, 2023-10-25 at 14:08 +0800, 'Felix Moessbauer' via isar-users
wrote:
> The BITBAKEDIR variable contains an absolute path. This is
> problematic
> when mounting it into the schroot, as this makes the hash of the
> function depend on the absolute path. As the bitbake directory
> anyways
> directly depends on the ISAR layer, we can safely exclude it.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
> meta/classes/imagetypes_wic.bbclass | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/imagetypes_wic.bbclass
> b/meta/classes/imagetypes_wic.bbclass
> index 9a0bc2b7..6b50959f 100644
> --- a/meta/classes/imagetypes_wic.bbclass
> +++ b/meta/classes/imagetypes_wic.bbclass
> @@ -147,6 +147,7 @@ IMAGE_CMD:wic() {
> }
>
> SCHROOT_MOUNTS += "${BBLAYERS} ${STAGING_DIR} ${SCRIPTSDIR}
> ${BITBAKEDIR}"
> +SCHROOT_MOUNTS[vardepsexclude] += "BITBAKEDIR"
>
> generate_wic_image[vardepsexclude] += "WKS_FULL_PATH BITBAKEDIR
> TOPDIR"
> generate_wic_image() {
> --
> 2.39.2
>
Applied to next, thanks.
prev parent reply other threads:[~2023-11-01 7:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-25 6:08 Felix Moessbauer
2023-11-01 7:12 ` Uladzimir Bely [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=f1dd13b8fa0b25fa7e3e052c6a3858fcc897aa8b.camel@ilbers.de \
--to=ubely@ilbers.de \
--cc=adriaan.schmidt@siemens.com \
--cc=felix.moessbauer@siemens.com \
--cc=isar-users@googlegroups.com \
/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