1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

bitbake: toaster: add toggle for enabling image customisation feeature

This feature is currently under heavy development and should be used
with caution.

(Bitbake rev: ffc11b2c6c6bac4643233cc46418b025c94607c8)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Wood
2015-09-28 21:45:19 -07:00
committed by Richard Purdie
parent 3ff6401723
commit a7f43bd532
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -1867,6 +1867,7 @@ def managedcontextprocessor(request):
ret = {
"projects": Project.objects.all(),
"DEBUG" : toastermain.settings.DEBUG,
"CUSTOM_IMAGE" : toastermain.settings.CUSTOM_IMAGE,
"TOASTER_BRANCH": toastermain.settings.TOASTER_BRANCH,
"TOASTER_REVISION" : toastermain.settings.TOASTER_REVISION,
}
@@ -23,6 +23,11 @@
import os, re
# Temporary toggle for Image customisation
CUSTOM_IMAGE = False
if os.environ.get("CUSTOM_IMAGE", None) is not None:
CUSTOM_IMAGE = True
DEBUG = True
TEMPLATE_DEBUG = DEBUG