summaryrefslogtreecommitdiffstats
path: root/bin/bitbake
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/bitbake
parent4de9ee21f1fa4d04937cc7430fb1fc8b7a8f61e2 (diff)
downloadbitbake-contrib-7495f835666a9561c2c7d84da7aaa74e4df55b9a.tar.gz
bitbake-contrib-7495f835666a9561c2c7d84da7aaa74e4df55b9a.tar.bz2
bitbake-contrib-7495f835666a9561c2c7d84da7aaa74e4df55b9a.zip
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/bitbake')
-rwxr-xr-xbin/bitbake3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index e77266b4ba..0d6b3ae4c9 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)