Hi Ross,
Here's a simple test do reproduce it.
*Pre-conditions:*
INHERIT += "buildhistory"
BUILDHISTORY_RESET = "1"
BUILDHISTORY_PRESERVE:append = " files-in-package.txt"
*- Starting without sstate cache*
*Run:*
bitbake base-passwd
*Check:*
cat
PATH_TO_BUILD_dir/buildhistory/packages/core2-64-p
Hi Pedro,
> On 15 Jan 2025, at 15:31, Pedro Ferreira via lists.openembedded.org
> wrote:
>
> From: Pedro Ferreira
>
> 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
From: Pedro Ferreira
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