summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
index 823c6f154a..14298d9daf 100644
--- a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py
@@ -74,8 +74,9 @@ class Command(BaseCommand):
74 print("Loading default settings") 74 print("Loading default settings")
75 call_command("loaddata", "settings") 75 call_command("loaddata", "settings")
76 template_conf = os.environ.get("TEMPLATECONF", "") 76 template_conf = os.environ.get("TEMPLATECONF", "")
77 custom_xml_only = os.environ.get("CUSTOM_XML_ONLY")
77 78
78 if ToasterSetting.objects.filter(name='CUSTOM_XML_ONLY').count() > 0: 79 if ToasterSetting.objects.filter(name='CUSTOM_XML_ONLY').count() > 0 or (not custom_xml_only == None):
79 # only use the custom settings 80 # only use the custom settings
80 pass 81 pass
81 elif "poky" in template_conf: 82 elif "poky" in template_conf: