bitbake: toaster: remove 2 confusing parameters

Removed nobrowser and brbe script parameters as both
are confusing and nobrowser is not used anywhere.

brbe parameter usage can only be justified if toaster
doesn't work properly and user has to manually connect
toaster to running bitbake server. Even in this scenario
it's very unlikely to achieve as toaster script is not
designed for this kind of usage.

(Bitbake rev: 0fd04ede3fda6894d97a5ef830b79dbbc9c6cf51)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh 2015-12-17 16:48:56 +00:00 committed by Richard Purdie
parent 3960b6ec5c
commit 5f406915b5
1 changed files with 2 additions and 11 deletions

View File

@ -17,8 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
# Usage: source toaster [start|stop|restart-bitbake] [webport=<port>]
# [noui] [noweb] [nobrowser] [brbe=<BRBE>]
# Usage: source toaster [start|stop|restart-bitbake]
# [webport=<port>] [noui] [noweb]
# Helper function to kill a background toaster development server
@ -203,8 +203,6 @@ export TOASTER_DIR=`pwd`
NOTOASTERUI=0
WEBSERVER=1
NOBROWSER=0
TOASTER_BRBE=""
WEB_PORT="8000"
for param in $*; do
@ -215,12 +213,6 @@ for param in $*; do
noweb )
WEBSERVER=0
;;
nobrowser )
NOBROWSER=1
;;
brbe=* )
TOASTER_BRBE=$'\n'"TOASTER_BRBE=\""${param#*=}"\""
;;
webport=*)
WEB_PORT="${param#*=}"
esac
@ -318,7 +310,6 @@ case $CMD in
conf=${BUILDDIR}/conf/toaster.conf
echo "# Created by toaster start script" > $conf
echo "INHERIT+=\"toaster buildhistory\"" >> $conf
[ -n "$TOASTER_BRBE" ] && echo $TOASTER_BRBE >> $conf
if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
echo "Failed ${CMD}."