summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-03-29 00:17:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-29 21:12:56 +0100
commit2aa14680541ecdec2d1b5e29612c3265b9de4246 (patch)
tree063e0c69f1b9b8c681931b61d135ada14ea6cfdf /bitbake/lib
parentff4387370667cdb5a7ac0c94732fa7e7e022b893 (diff)
downloadpoky-2aa14680541ecdec2d1b5e29612c3265b9de4246.tar.gz
Hob: change some words for build configurations on build details screen
This patch is to change some words of variables to make them consistent with the GUI. (Bitbake rev: 4af7ab24ff3b170dfa74159c057e7110a615a8d3) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builddetailspage.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index e8dbad7ad1..abbee4c5b2 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -83,15 +83,15 @@ class BuildConfigurationTreeView(gtk.TreeView):
83 83
84 def show(self, src_config_info, src_params): 84 def show(self, src_config_info, src_params):
85 vars = [] 85 vars = []
86 vars.append(self.set_vars("BB VERSION:", src_params.bb_version)) 86 vars.append(self.set_vars("BB version:", src_params.bb_version))
87 vars.append(self.set_vars("TARGET_ARCH:", src_params.target_arch)) 87 vars.append(self.set_vars("Target arch:", src_params.target_arch))
88 vars.append(self.set_vars("TARGET_OS:", src_params.target_os)) 88 vars.append(self.set_vars("Target OS:", src_params.target_os))
89 vars.append(self.set_vars("MACHINE:", src_config_info.curr_mach)) 89 vars.append(self.set_vars("Machine:", src_config_info.curr_mach))
90 vars.append(self.set_vars("DISTRO:", src_config_info.curr_distro)) 90 vars.append(self.set_vars("Distro:", src_config_info.curr_distro))
91 vars.append(self.set_vars("DISTRO_VERSION:", src_params.distro_version)) 91 vars.append(self.set_vars("Distro version:", src_params.distro_version))
92 vars.append(self.set_vars("SDK_MACHINE:", src_config_info.curr_sdk_machine)) 92 vars.append(self.set_vars("SDK machine:", src_config_info.curr_sdk_machine))
93 vars.append(self.set_vars("TUNE_FEATURE:", src_params.tune_pkgarch)) 93 vars.append(self.set_vars("Tune feature:", src_params.tune_pkgarch))
94 vars.append(self.set_vars("LAYERS:", src_config_info.layers)) 94 vars.append(self.set_vars("Layers:", src_config_info.layers))
95 95
96 for path in src_config_info.layers: 96 for path in src_config_info.layers:
97 import os, os.path 97 import os, os.path
@@ -99,7 +99,7 @@ class BuildConfigurationTreeView(gtk.TreeView):
99 f = os.popen('cd %s; git branch 2>&1 | grep "^* " | tr -d "* "' % path) 99 f = os.popen('cd %s; git branch 2>&1 | grep "^* " | tr -d "* "' % path)
100 if f: 100 if f:
101 branch = f.readline().lstrip('\n').rstrip('\n') 101 branch = f.readline().lstrip('\n').rstrip('\n')
102 vars.append(self.set_vars("BRANCH:", branch)) 102 vars.append(self.set_vars("Branch:", branch))
103 f.close() 103 f.close()
104 break 104 break
105 105
@@ -140,7 +140,7 @@ class BuildDetailsPage (HobPage):
140 self.scrolled_view_config = gtk.ScrolledWindow () 140 self.scrolled_view_config = gtk.ScrolledWindow ()
141 self.scrolled_view_config.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS) 141 self.scrolled_view_config.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS)
142 self.scrolled_view_config.add(self.config_tv) 142 self.scrolled_view_config.add(self.config_tv)
143 self.notebook.append_page(self.scrolled_view_config, gtk.Label("Build Configuration")) 143 self.notebook.append_page(self.scrolled_view_config, gtk.Label("Build configuration"))
144 144
145 self.failure_tv = BuildFailureTreeView() 145 self.failure_tv = BuildFailureTreeView()
146 self.failure_model = self.builder.handler.build.model.failure_model() 146 self.failure_model = self.builder.handler.build.model.failure_model()