From: Ross Burton <Ross.Burton@arm.com>
To: "pmi183@gmail.com" <pmi183@gmail.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>,
Pedro Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Subject: Re: [OE-core] [PATCH] buildhistory.bbclass: restore BUILDHISTORY_PRESERVE files
Date: Wed, 22 Jan 2025 13:42:26 +0000 [thread overview]
Message-ID: <FA6EADF9-7198-4DF2-8417-1FB6BFA24BDA@arm.com> (raw)
In-Reply-To: <20250115153149.1827119-1-pmi183@gmail.com>
Hi Pedro,
> On 15 Jan 2025, at 15:31, Pedro Ferreira via lists.openembedded.org <pmi183=gmail.com@lists.openembedded.org> wrote:
>
> From: Pedro Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
>
> On each build using sstate-cache, buildhistory will move
> content to a temporary folder named `old`.
> When buildhistory looks for the main dir, it wont find it
> and ends up creating it.
> As a consequence how code is structured wont restore any
> preserved file.
>
> Code block moved to ensure if old dir exists, it will
> attempt to restore those files marked to preserve.
Do you have a reproducer for this behaviour? As you have seen the buildhistory file management isn’t trivial and we’d like to understand the failure better.
Cheers,
Ross
next prev parent reply other threads:[~2025-01-22 13:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-15 15:31 [PATCH] buildhistory.bbclass: restore BUILDHISTORY_PRESERVE files Pedro Ferreira
2025-01-22 13:42 ` Ross Burton [this message]
2025-01-23 14:37 ` Pedro Ferreira
2025-03-06 14:26 ` Pedro Ferreira
2025-03-12 13:40 ` [OE-core] " Ross Burton
2025-06-23 20:48 ` Richard Purdie
2025-06-25 10:26 ` Fabio Berton
2025-06-25 10:46 ` Richard Purdie
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=FA6EADF9-7198-4DF2-8417-1FB6BFA24BDA@arm.com \
--to=ross.burton@arm.com \
--cc=Pedro.Silva.Ferreira@criticaltechworks.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pmi183@gmail.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