diff options
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/toaster | 9 |
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 |
269 | fi | 269 | fi |
270 | 270 | ||
271 | if [ "$1" = 'restart-bitbake' ] ; then | ||
272 | stop_bitbake | ||
273 | sleep 1 | ||
274 | start_bitbake | ||
275 | rc=$? | ||
276 | sleep 1 | ||
277 | return $rc | ||
278 | fi | ||
279 | |||
271 | if ! verify_prereq; then | 280 | if ! 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 |