Re: [OE-core] [PATCH] buildhistory.bbclass: restore BUILDHISTORY_PRESERVE files

2025-01-23 Thread Pedro Ferreira via lists.openembedded.org
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

Re: [OE-core] [PATCH] buildhistory.bbclass: restore BUILDHISTORY_PRESERVE files

2025-01-22 Thread Ross Burton via lists.openembedded.org
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

[OE-core] [PATCH] buildhistory.bbclass: restore BUILDHISTORY_PRESERVE files

2025-01-15 Thread Pedro Ferreira via lists.openembedded.org
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