* [meta-rauc] yocto sstate caching of bundles
@ 2021-10-21 15:30 Martin Hollingsworth
2021-11-04 9:08 ` Martin Hollingsworth
0 siblings, 1 reply; 2+ messages in thread
From: Martin Hollingsworth @ 2021-10-21 15:30 UTC (permalink / raw)
To: meta-rauc
[-- Attachment #1.1: Type: text/plain, Size: 714 bytes --]
Hello meta-rauc list,
Is anyone here using Yocto SSTATE caching together with meta-rauc?
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#shared-state-cache
We enabled sstate caching a few days weeks ago, and are now seeing that our build outputs for image and bundle have different build timestamps. The image file is always with the current timestamp, while the bundle often uses an older timestamp. I would assume a bundle must always be rebuild from the current image.
Example:
<imagename>-<machine> -20211020001242.rootfs.wic.xz
<bundlename><machine>-20211015001217.raucb
Anyone stumbled upon that?
Thanks and Greetings,
Martin Hollingsworth
[-- Attachment #1.2: Type: text/html, Size: 3331 bytes --]
[-- Attachment #2: Type: text/plain, Size: 71 bytes --]
_______________________________________________
meta-rauc mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [meta-rauc] yocto sstate caching of bundles
2021-10-21 15:30 [meta-rauc] yocto sstate caching of bundles Martin Hollingsworth
@ 2021-11-04 9:08 ` Martin Hollingsworth
0 siblings, 0 replies; 2+ messages in thread
From: Martin Hollingsworth @ 2021-11-04 9:08 UTC (permalink / raw)
To: Martin Hollingsworth, meta-rauc
Hello meta-rauc,
to answer my own question, to mitigate the bundle SSTATE cache issue, I have added the following line into our bundle recipes:
SSTATE_SKIP_CREATION = "1"
According to this post, this disables adding the final recipe output to the SSTATE cache, thus forcing a rebuild of the bundle.
https://stackoverflow.com/q/69674939/2590485
Hope that helps.
Regards,
Martin
_______________________________________________
meta-rauc mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-04 9:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21 15:30 [meta-rauc] yocto sstate caching of bundles Martin Hollingsworth
2021-11-04 9:08 ` Martin Hollingsworth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox