diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-28 14:28:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-30 09:54:34 +0100 |
commit | e118ee3ad85cc6e7977bbd6f5a5bd6fe57aef04e (patch) | |
tree | 9203ace51a6d0a794b0578029de01695c16558c8 /bitbake/bin | |
parent | 5cb59cc6910d8f3165528c4a71e29e4de897d242 (diff) | |
download | poky-e118ee3ad85cc6e7977bbd6f5a5bd6fe57aef04e.tar.gz |
bitbake: server: Remove none server
The process server backend has been serving well as the default for a long
time now and the UI model is much better thought out that it used to be. With
the move to make bitbake a memory resident process, the none server is now
looking rather pointless and complicates the code needlessly. Lets therefore
now remove it.
(Bitbake rev: 9af03a89605e3db9bce3cea1e0f2d0b6cfaa6fe1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index ac35b94e3b..a868557a1a 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -167,7 +167,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): | |||
167 | parser.add_option("-u", "--ui", help = "userinterface to use", | 167 | parser.add_option("-u", "--ui", help = "userinterface to use", |
168 | action = "store", dest = "ui") | 168 | action = "store", dest = "ui") |
169 | 169 | ||
170 | parser.add_option("-t", "--servertype", help = "Choose which server to use, none, process or xmlrpc", | 170 | parser.add_option("-t", "--servertype", help = "Choose which server to use, process or xmlrpc", |
171 | action = "store", dest = "servertype") | 171 | action = "store", dest = "servertype") |
172 | 172 | ||
173 | parser.add_option("", "--revisions-changed", help = "Set the exit code depending on whether upstream floating revisions have changed or not", | 173 | parser.add_option("", "--revisions-changed", help = "Set the exit code depending on whether upstream floating revisions have changed or not", |
@@ -191,7 +191,7 @@ def main(): | |||
191 | 191 | ||
192 | ui_main = get_ui(configuration) | 192 | ui_main = get_ui(configuration) |
193 | 193 | ||
194 | # Server type can be xmlrpc, process or none currently, if nothing is specified, | 194 | # Server type can be xmlrpc or process currently, if nothing is specified, |
195 | # the default server is process | 195 | # the default server is process |
196 | if configParams.servertype: | 196 | if configParams.servertype: |
197 | server_type = configParams.servertype | 197 | server_type = configParams.servertype |
@@ -203,7 +203,7 @@ def main(): | |||
203 | server = getattr(module, server_type) | 203 | server = getattr(module, server_type) |
204 | except AttributeError: | 204 | except AttributeError: |
205 | sys.exit("FATAL: Invalid server type '%s' specified.\n" | 205 | sys.exit("FATAL: Invalid server type '%s' specified.\n" |
206 | "Valid interfaces: xmlrpc, process [default], none." % servertype) | 206 | "Valid interfaces: xmlrpc, process [default]." % servertype) |
207 | 207 | ||
208 | if configParams.server_only: | 208 | if configParams.server_only: |
209 | if configParams.servertype != "xmlrpc": | 209 | if configParams.servertype != "xmlrpc": |