[bitbake-devel] [PATCH] use the word "task" as the argument for --runall and --runonly

Robert P. J. Day rpjday at crashcourse.ca
Sat May 4 21:04:17 UTC 2019


The proper argument for "--runall" and "--runonly" should be "task".

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

diff --git a/lib/bb/main.py b/lib/bb/main.py
index 8d1978f9..66ef84c7 100755
--- a/lib/bb/main.py
+++ b/lib/bb/main.py
@@ -280,10 +280,10 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
                           help="Writes the event log of the build to a bitbake event json file. "
                                "Use '' (empty string) to assign the name automatically.")

-        parser.add_option("", "--runall", action="append", dest="runall",
+        parser.add_option("", "--runall", action="append", dest="task",
                           help="Run the specified task for any recipe in the taskgraph of the specified target (even if it wouldn't otherwise have run).")

-        parser.add_option("", "--runonly", action="append", dest="runonly",
+        parser.add_option("", "--runonly", action="append", dest="task",
                           help="Run only the specified task within the taskgraph of the specified targets (and any task dependencies those tasks may have).")



-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the bitbake-devel mailing list