diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-05-14 14:40:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-29 11:59:43 +0100 |
commit | a5236be47fd62d41eaea2d4b4f1a394de0aac4a9 (patch) | |
tree | ed78623e18ee07ccd270bda36e51e598b9707469 /bitbake/bin | |
parent | 5da543c7b5cd565eed285a5015b1cafdc71ddb83 (diff) | |
download | poky-a5236be47fd62d41eaea2d4b4f1a394de0aac4a9.tar.gz |
bitbake: toaster: enable server-side sessions for all usages
In an effort to fix client-side session storage using
cookies, we enable server-side session support for all pages.
(Bitbake rev: ba10b6f89767c0dad8a2b064f42a84956764e9da)
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-x | bitbake/bin/toaster | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 18eba8ea07..93abcfad3b 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -53,7 +53,11 @@ function webserverStartAll() | |||
53 | fi | 53 | fi |
54 | 54 | ||
55 | retval=0 | 55 | retval=0 |
56 | python $BBBASEDIR/lib/toaster/manage.py syncdb || retval=1 | 56 | if [ "$TOASTER_MANAGED" '==' '1' ]; then |
57 | python $BBBASEDIR/lib/toaster/manage.py syncdb || retval=1 | ||
58 | else | ||
59 | python $BBBASEDIR/lib/toaster/manage.py syncdb --noinput || retval=1 | ||
60 | fi | ||
57 | python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2 | 61 | python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2 |
58 | if [ $retval -eq 1 ]; then | 62 | if [ $retval -eq 1 ]; then |
59 | echo "Failed db sync, stopping system start" 1>&2 | 63 | echo "Failed db sync, stopping system start" 1>&2 |