summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian avery <avery.brian@gmail.com>2015-10-07 15:17:32 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-11 05:33:04 +0100
commit489d5ff1c9ddcbb27e9a847153656c84bea4fd03 (patch)
tree42f512a8b3af8b6085623c1460cc5ed45575ccc1
parentc7d1dab1c422f33c32db9c9538a11fd6de322e7f (diff)
downloadpoky-489d5ff1c9ddcbb27e9a847153656c84bea4fd03.tar.gz
bitbake: toaster: removed superuser question from startup
added comment explaining how to create one later (Bitbake rev: 782b7c74d5f10ed255538ba0c975ff342a34f5bf) Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/bin/toaster9
1 files changed, 4 insertions, 5 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index ac2782698c..d56d525960 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -54,11 +54,10 @@ webserverStartAll()
54 fi 54 fi
55 55
56 retval=0 56 retval=0
57 if [ "$TOASTER_MANAGED" '=' '1' ]; then 57 # you can always add a superuser later via
58 python $BBBASEDIR/lib/toaster/manage.py syncdb || retval=1 58 # python bitbake/lib/toaster/manage.py python manage.py createsuperuser --username=<ME>
59 else 59 python $BBBASEDIR/lib/toaster/manage.py syncdb --noinput || retval=1
60 python $BBBASEDIR/lib/toaster/manage.py syncdb --noinput || retval=1 60
61 fi
62 python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2 61 python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2
63 if [ $retval -eq 1 ]; then 62 if [ $retval -eq 1 ]; then
64 echo "Failed db sync, stopping system start" 1>&2 63 echo "Failed db sync, stopping system start" 1>&2