<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 7:57 PM, Matthew McClintock <span dir="ltr"><<a href="mailto:msm-oss@mcclintock.net" target="_blank">msm-oss@mcclintock.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">For example:<br>
<br>
$ bitbake core-image-minimal --runall unpack<br>
...<br>
NOTE: Tasks Summary: Attempted 326 tasks of which 88 didn't need to be rerun and all succeeded.<br>
<br>
$ bitbake core-image-minimal --runall patch<br>
NOTE: Tasks Summary: Attempted 453 tasks of which 332 didn't need to be rerun and all succeeded.<br>
<br>
This can replace fetchall as well:<br>
$ bitbake core-image-minimal --runall fetch<br>
NOTE: Tasks Summary: Attempted 135 tasks of which 119 didn't need to be rerun and all succeeded.<br>
<br>
Signed-off-by: Matthew McClintock <<a href="mailto:msm-oss@mcclintock.net">msm-oss@mcclintock.net</a>><br>
---<br>
lib/bb/cookerdata.py | 1 +<br>
lib/bb/main.py | 3 +++<br>
</span> lib/bb/runqueue.py | 14 ++++++++++++++<br>
3 files changed, 18 insertions(+)<br>
<span class=""><br>
diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py<br>
index 53f4587..722d860 100644<br>
--- a/lib/bb/cookerdata.py<br>
+++ b/lib/bb/cookerdata.py<br>
@@ -148,6 +148,7 @@ class CookerConfiguration(object):<br>
self.writeeventlog = False<br>
self.server_only = False<br>
self.limited_deps = False<br>
+ self.runall = None<br>
<br>
self.env = {}<br>
<br>
diff --git a/lib/bb/main.py b/lib/bb/main.py<br>
index 3ff43cf..bda3e0c 100755<br>
--- a/lib/bb/main.py<br>
+++ b/lib/bb/main.py<br>
@@ -287,6 +287,9 @@ class BitBakeConfigParameters(<wbr>cookerdata.ConfigParameters):<br>
help="Writes the event log of the build to a bitbake event json file. "<br>
"Use '' (empty string) to assign the name automatically.")<br>
<br>
+ parser.add_option("", "--runall", action="store", dest="runall",<br>
+ help="Run all tasks in build target that is specified.")<br>
+</span></blockquote></div><br>This looks good (I’m sick of having to keep adding ‘all’ variants for tasks), but I don’t think this argument help description is very clear.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div>
</div></div>