Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [RFC] Respect force flag in runall and runonly
@ 2018-03-27 18:34 Joshua Watt
  2018-03-27 18:34 ` [RFC] bitbake: respect " Joshua Watt
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Watt @ 2018-03-27 18:34 UTC (permalink / raw)
  To: bitbake-devel

Implements the ability to run bitbake commands like:

 $ bitbake -f --runall fetch core-image-mimimal
 $ bitbake -f --runonly fetch core-image-minimal

which will invalidate the stamps for all affected tasks forcing them to
run even if they have already.

I've found this useful in a few circumstances. Most recently, I was
attempting to do A/B performance comparison of so package QA checks, so
it was pretty easy to figure out the impact of various QA checks with:

 $ time bitbake -f --runall package_qa core-image-minimal

Additionally, I currently do a number of actions like this (because we
don't have runall):

 $ bitbake -g <image>
 $ xargs -a pn-buildlist bitbake -f -c <action>

And I would like to replace them with

 $ bitbake -f --runall <action> <image>

Is this something that is even necessary/wanted?



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

end of thread, other threads:[~2018-03-27 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-27 18:34 [RFC] Respect force flag in runall and runonly Joshua Watt
2018-03-27 18:34 ` [RFC] bitbake: respect " Joshua Watt

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