summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/bitbake9
-rw-r--r--bitbake/doc/bitbake.16
2 files changed, 11 insertions, 4 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 420e69d0c9..478ac06124 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -56,10 +56,11 @@ class BBConfiguration(object):
56 56
57 57
58def get_ui(config): 58def get_ui(config):
59 if config.ui: 59 if not config.ui:
60 interface = config.ui 60 # modify 'ui' attribute because it is also read by cooker
61 else: 61 config.ui = os.environ.get('BITBAKE_UI', 'knotty')
62 interface = 'knotty' 62
63 interface = config.ui
63 64
64 try: 65 try:
65 # Dynamically load the UI based on the ui name. Although we 66 # Dynamically load the UI based on the ui name. Although we
diff --git a/bitbake/doc/bitbake.1 b/bitbake/doc/bitbake.1
index aa096203e4..d9d39020f5 100644
--- a/bitbake/doc/bitbake.1
+++ b/bitbake/doc/bitbake.1
@@ -103,7 +103,13 @@ Show debug logging for the specified logging domains
103.TP 103.TP
104.B \-P, \-\-profile 104.B \-P, \-\-profile
105profile the command and print a report 105profile the command and print a report
106
107.SH ENVIRONMENT VARIABLES
108bitbake uses the following environment variables to control its
109operation:
106.TP 110.TP
111.B BITBAKE_UI
112The bitbake user interface; overridden by the \fB-u\fP commandline option.
107 113
108.SH AUTHORS 114.SH AUTHORS
109BitBake was written by 115BitBake was written by