Patchwork [bitbake-devel,1/1] bitbake: remove choices for dump-signatures

login
register
mail settings
Submitter Robert Yang
Date July 24, 2014, 8:22 a.m.
Message ID <43deea90c1d8d3d4a1e41b61fbbe1412951f1eb0.1406189837.git.liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/76567/
State New
Headers show

Comments

Robert Yang - July 24, 2014, 8:22 a.m.
The SIGNATURE_HANDLER can be defined by the user, so we can't use choices.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 bitbake/bin/bitbake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 39aa3ec..b8acd6e 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -140,7 +140,7 @@  class BitBakeConfigParameters(cookerdata.ConfigParameters):
                    action = "store_true", dest = "dry_run", default = False)
 
         parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER parameter is passed to the handler. Two common values are none and printdiff but the handler may define more/less. none means only dump the signature, printdiff means compare the dumped signature with the cached one.",
-                   action = "append", dest = "dump_signatures", default = [], type="choice", choices=("none", "printdiff"), metavar="SIGNATURE_HANDLER")
+                   action = "append", dest = "dump_signatures", default = [], metavar="SIGNATURE_HANDLER")
 
         parser.add_option("-p", "--parse-only", help = "Quit after parsing the BB recipes.",
                    action = "store_true", dest = "parse_only", default = False)