summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/toaster
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-17 16:48:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-18 13:51:54 +0000
commit5f406915b5e26761faa4ea5e0edd887ac5ae6e2f (patch)
treee3934584a8afaef27f9c01c9d329c6025dcdf281 /bitbake/bin/toaster
parent3960b6ec5c34e2136682e56b2883b69efa0a2693 (diff)
downloadpoky-5f406915b5e26761faa4ea5e0edd887ac5ae6e2f.tar.gz
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>
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-xbitbake/bin/toaster13
1 files changed, 2 insertions, 11 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 7cecc7b3cd..1f9849072a 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -17,8 +17,8 @@
17# You should have received a copy of the GNU General Public License 17# You should have received a copy of the GNU General Public License
18# along with this program. If not, see http://www.gnu.org/licenses/. 18# along with this program. If not, see http://www.gnu.org/licenses/.
19 19
20# Usage: source toaster [start|stop|restart-bitbake] [webport=<port>] 20# Usage: source toaster [start|stop|restart-bitbake]
21# [noui] [noweb] [nobrowser] [brbe=<BRBE>] 21# [webport=<port>] [noui] [noweb]
22 22
23# Helper function to kill a background toaster development server 23# Helper function to kill a background toaster development server
24 24
@@ -203,8 +203,6 @@ export TOASTER_DIR=`pwd`
203 203
204NOTOASTERUI=0 204NOTOASTERUI=0
205WEBSERVER=1 205WEBSERVER=1
206NOBROWSER=0
207TOASTER_BRBE=""
208WEB_PORT="8000" 206WEB_PORT="8000"
209 207
210for param in $*; do 208for param in $*; do
@@ -215,12 +213,6 @@ for param in $*; do
215 noweb ) 213 noweb )
216 WEBSERVER=0 214 WEBSERVER=0
217 ;; 215 ;;
218 nobrowser )
219 NOBROWSER=1
220 ;;
221 brbe=* )
222 TOASTER_BRBE=$'\n'"TOASTER_BRBE=\""${param#*=}"\""
223 ;;
224 webport=*) 216 webport=*)
225 WEB_PORT="${param#*=}" 217 WEB_PORT="${param#*=}"
226 esac 218 esac
@@ -318,7 +310,6 @@ case $CMD in
318 conf=${BUILDDIR}/conf/toaster.conf 310 conf=${BUILDDIR}/conf/toaster.conf
319 echo "# Created by toaster start script" > $conf 311 echo "# Created by toaster start script" > $conf
320 echo "INHERIT+=\"toaster buildhistory\"" >> $conf 312 echo "INHERIT+=\"toaster buildhistory\"" >> $conf
321 [ -n "$TOASTER_BRBE" ] && echo $TOASTER_BRBE >> $conf
322 313
323 if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then 314 if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
324 echo "Failed ${CMD}." 315 echo "Failed ${CMD}."