Openembedded Core Discussions
 help / color / mirror / Atom feed
* Running BitBake multiple times without rechecking upstream AUTOREV versions
@ 2018-05-11 18:23 chris.laplante
  2018-05-14  8:20 ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: chris.laplante @ 2018-05-11 18:23 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

Hi all,

I'm working on using Jenkins to host our Yocto build. One of the things that would be nice is to be able to do a "bitbake our-user-image", upload the artifacts to our network file storage, and then do a "bitbake our-user-image -c populate_sdk_ext". I'd like to do these separately so that developers are not waiting around for the eSDK to be generated if all they care about is the kernel, for example. My concern is that the second bitbake invocation could end up building different stuff if someone were to check in code in between when the two "bitbake"s are run. This is primarily a concern with recipes that use AUTOREV (as we do for development purposes).

Is there a way to essentially "freeze" the BitBake data store and re-use it across multiple bitbake invocations?

I had a few ideas:

1. Use buildhistory-collect-srcrevs to generate the SRCREV_pn- overrides necessary to lock the SRCREVs of all the packages.
2. Use BB_SERVER_TIMEOUT = "-1" to force BitBake to remain resident - when BitBake is resident is seems to not reparse recipes. As I understand it, the recipe parse stage is when upstreams are checked for new revisions. Not sure if this would work.
3. Somehow use the locked siggens.


Is anything like this possible?

Thanks,
Chris

[-- Attachment #2: Type: text/html, Size: 5261 bytes --]

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

end of thread, other threads:[~2018-05-15 21:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-11 18:23 Running BitBake multiple times without rechecking upstream AUTOREV versions chris.laplante
2018-05-14  8:20 ` Richard Purdie
2018-05-14 13:05   ` UNVERIFIED SENDER " chris.laplante
2018-05-14 13:13     ` Richard Purdie
2018-05-15 15:43   ` Andrea Galbusera
2018-05-15 21:46     ` Andrea Galbusera

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