diff options
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 1 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastermain/settings.py | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 8689a1251e..2e3b822797 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -1867,6 +1867,7 @@ def managedcontextprocessor(request): | |||
1867 | ret = { | 1867 | ret = { |
1868 | "projects": Project.objects.all(), | 1868 | "projects": Project.objects.all(), |
1869 | "DEBUG" : toastermain.settings.DEBUG, | 1869 | "DEBUG" : toastermain.settings.DEBUG, |
1870 | "CUSTOM_IMAGE" : toastermain.settings.CUSTOM_IMAGE, | ||
1870 | "TOASTER_BRANCH": toastermain.settings.TOASTER_BRANCH, | 1871 | "TOASTER_BRANCH": toastermain.settings.TOASTER_BRANCH, |
1871 | "TOASTER_REVISION" : toastermain.settings.TOASTER_REVISION, | 1872 | "TOASTER_REVISION" : toastermain.settings.TOASTER_REVISION, |
1872 | } | 1873 | } |
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index b149a5ed83..6439d68c3f 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py | |||
@@ -23,6 +23,11 @@ | |||
23 | 23 | ||
24 | import os, re | 24 | import os, re |
25 | 25 | ||
26 | # Temporary toggle for Image customisation | ||
27 | CUSTOM_IMAGE = False | ||
28 | if os.environ.get("CUSTOM_IMAGE", None) is not None: | ||
29 | CUSTOM_IMAGE = True | ||
30 | |||
26 | DEBUG = True | 31 | DEBUG = True |
27 | TEMPLATE_DEBUG = DEBUG | 32 | TEMPLATE_DEBUG = DEBUG |
28 | 33 | ||