summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/toaster9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 34a4e8f6f7..c89e015706 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -268,6 +268,15 @@ if [ `basename \"$0\"` = `basename \"${TOASTER}\"` ]; then
268 exit 1 268 exit 1
269fi 269fi
270 270
271if [ "$1" = 'restart-bitbake' ] ; then
272 stop_bitbake
273 sleep 1
274 start_bitbake
275 rc=$?
276 sleep 1
277 return $rc
278fi
279
271if ! verify_prereq; then 280if ! verify_prereq; then
272 echo "Error: Could not verify that the needed dependencies are installed. Please use virtualenv and pip to install dependencies listed in toaster-requirements.txt" 1>&2 281 echo "Error: Could not verify that the needed dependencies are installed. Please use virtualenv and pip to install dependencies listed in toaster-requirements.txt" 1>&2
273 return 1 282 return 1