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:16 +0000 (12:53 +0100)
commitf0a1a3e24757f7658d272035620465f92a3e4c3c
treef08b4c8c78a700469c3bce980bbd480de8c57fe7
parent1a0defce1499fdc320bcb27b41e06bea2ca2aef2
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]

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