bitbake: bitbake: cooker: mark setFeatures command as read-only
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 1 Apr 2014 11:24:49 +0000 (12:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 11:53:26 +0000 (12:53 +0100)
commitf214f82285863738003c8e4874706731a4950f12
treec3cba258a3052083b71c148c32517e3febb2ae4b
parentdad880d272ddaed5fdddb7f5ad1d7eb39ddf16d0
bitbake: bitbake: cooker: mark setFeatures command as read-only

This patch makes sure that the setFeatures command is marked
as read-only and that it can only run if the cooker is in
the initial state.

Additionally, remove logging from the XMLRPC module in favor
of sending the exception to the client for easy processing.

[YOCTO #6089]

(Bitbake rev: f0a1a3e24757f7658d272035620465f92a3e4c3c)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/command.py
bitbake/lib/bb/cooker.py
bitbake/lib/bb/server/xmlrpc.py