summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-03-07 15:10:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-11 12:24:31 -0700
commit6b4aedc0c9bff86f868886fd86f3ae8f715ae765 (patch)
treef3d235a778405608c8850fab6d8be843f177aa6e /bitbake/bin
parentbff408ad6398a58ce92984597303876f258ce07c (diff)
downloadpoky-6b4aedc0c9bff86f868886fd86f3ae8f715ae765.tar.gz
bitbake: toaster: erase checks for stop command
We remove the checks for the stop command, since we assume the user really means it wants to shutdown the system when he issues the command. [YOCTO #5376] (Bitbake rev: 5d6594de8876be8ce4df56b846fee0fc687a6261) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster17
1 files changed, 2 insertions, 15 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 38e71acc2b..9c0a15ff67 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -143,25 +143,12 @@ if [ -e $BUILDDIR/bitbake.lock ]; then
143fi 143fi
144 144
145if [ ${CMD} == "start" ] && ( [ $lock -eq 0 ] || [ -e $BUILDDIR/.toastermain.pid ] ); then 145if [ ${CMD} == "start" ] && ( [ $lock -eq 0 ] || [ -e $BUILDDIR/.toastermain.pid ] ); then
146 echo "Error: bitbake lock state error. System is already on." 2>&1 146 echo "Error: bitbake lock state error. File locks show that the system is on." 2>&1
147 return 3 147 echo "If you see problems, stop and then start the system again." 2>&1
148elif [ ${CMD} == "stop" ] && ( [ $lock -eq 1 ] || ! [ -e $BUILDDIR/.toastermain.pid ] ) ; then
149 echo "Error: bitbake lock state error. Trying to stop a stopped system ?
150If you think the system is hanged up, you can try to manually stop system with the commands
151
152# BBSERVER=localhost:8200 bitbake -m
153
154and
155
156# webserverKillAll
157" 2>&1
158 return 3 148 return 3
159fi 149fi
160 150
161 151
162
163
164
165# Execute the commands 152# Execute the commands
166 153
167case $CMD in 154case $CMD in