<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mar 7, 2017 9:10 PM, &quot;Christopher Larson&quot; &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="elided-text"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 7:57 PM, Matthew McClintock <span dir="ltr">&lt;<a href="mailto:msm-oss@mcclintock.net" target="_blank">msm-oss@mcclintock.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>For example:<br>
<br>
$ bitbake core-image-minimal --runall unpack<br>
...<br>
NOTE: Tasks Summary: Attempted 326 tasks of which 88 didn&#39;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&#39;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&#39;t need to be rerun and all succeeded.<br>
<br>
Signed-off-by: Matthew McClintock &lt;<a href="mailto:msm-oss@mcclintock.net" target="_blank">msm-oss@mcclintock.net</a>&gt;<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><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(cooker<wbr>data.ConfigParameters):<br>
                           help=&quot;Writes the event log of the build to a bitbake event json file. &quot;<br>
                                &quot;Use &#39;&#39; (empty string) to assign the name automatically.&quot;)<br>
<br>
+        parser.add_option(&quot;&quot;, &quot;--runall&quot;, action=&quot;store&quot;, dest=&quot;runall&quot;,<br>
+                          help=&quot;Run all tasks in build target that is specified.&quot;)<br>
+</span></blockquote></div><br></div>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.</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Ah I was struggling with the verbiage here. Feel free to make a suggestion otherwise I&#39;ll try for something better tomorrow. </div><div dir="auto"><br></div><div dir="auto">-M</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><font color="#888888"><br>-- <br><div class="m_9127871252908766455gmail_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>
</font></div></div>
</blockquote></div><br></div></div></div>