Openembedded Core Discussions
 help / color / mirror / Atom feed
* package.tgz files not touched in sstate-cache
@ 2016-01-29 15:47 Mike Crowe
  2016-01-29 17:42 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Crowe @ 2016-01-29 15:47 UTC (permalink / raw)
  To: openembedded-core

We have a shared sstate-cache that is populated by us building nightly
images for various branches using Jenkins. This cache is pruned
periodically (with special care of the siginfo files since we don't have
80b3974081c4a8c604e23982a6db8fb32c616058 yet.)

Recently we went back to one of those branches that hadn't been changed for
a while and were surprised to find that Bitbake wanted to build loads of
packages from source.

It turned out that whilst the populate_sysroot.gz and package_ipk.tgz files
were still in the sstate-cache, the package.tgz tarball was not. This meant
that the whole package was built again in order to satisfy the build
dependencies of other packages that had changed.

I'm suspicious that this behaviour was introduced by the optimisation in
a0f584ac3d5a94dec121b684206ecd40c968f7fc so we hadn't seen it on older
branches.

Is there a way to cause the package.tgz file to be touched during these
nightly builds too? Or, is there a way to get hold of the complete set of
sstate files so they can be touched all in one go?

Thanks.

Mike.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-01 16:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 15:47 package.tgz files not touched in sstate-cache Mike Crowe
2016-01-29 17:42 ` Richard Purdie
2016-02-01 11:14   ` Mike Crowe
2016-02-01 15:54     ` Mike Crowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox