From 0fd04ede3fda6894d97a5ef830b79dbbc9c6cf51 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 17 Dec 2015 16:48:56 +0000 Subject: [PATCH] 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. Signed-off-by: Ed Bartosh Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bin/toaster | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/bin/toaster b/bin/toaster index 7cecc7b3cd1..1f9849072aa 100755 --- a/bin/toaster +++ b/bin/toaster @@ -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=] -# [noui] [noweb] [nobrowser] [brbe=] +# Usage: source toaster [start|stop|restart-bitbake] +# [webport=] [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}." -- 2.47.3