summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-06-17 12:11:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-17 16:08:43 +0100
commit7495f835666a9561c2c7d84da7aaa74e4df55b9a (patch)
treeb80d35b99b964875eec3680cb93f7119ec0139fc /bin
parent4de9ee21f1fa4d04937cc7430fb1fc8b7a8f61e2 (diff)
downloadbitbake-7495f835666a9561c2c7d84da7aaa74e4df55b9a.tar.gz
knotty, bitbake: add option to terminate a remote server
I add an option to terminate a remote server gracefully as not to need a kill command. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index e77266b4b..0d6b3ae4c 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -197,6 +197,9 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
parser.add_option("", "--remote-server", help = "Connect to the specified server",
action = "store", dest = "remote_server", default = False)
+ parser.add_option("-m", "--kill-server", help = "Terminate the remote server",
+ action = "store_true", dest = "kill_server", default = False)
+
parser.add_option("", "--observe-only", help = "Connect to a server as an observing-only client",
action = "store_true", dest = "observe_only", default = False)