summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/builder.py
diff options
context:
space:
mode:
authorLiming An <limingx.l.an@intel.com>2012-04-09 22:13:51 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-11 00:05:23 +0100
commit9067f7bfc295e2f47fda8031d2bcdcce8f63e894 (patch)
treeb49e49e24d106a7748fe8c426abcb0fbdd3ab0ac /bitbake/lib/bb/ui/crumbs/builder.py
parent6486d39fb1c626d65e9119046bae088f69fa06b3 (diff)
downloadpoky-9067f7bfc295e2f47fda8031d2bcdcce8f63e894.tar.gz
Hob:Fixed some incorrect values of Build configuration tab
Because some variables not be updated when building started, so add them to the updating function of configuration class, and add reset function of configurate treeview of building detail page [YOCTO #2244] (Bitbake rev: 06ce753fd4680a204ccc63949ace637dc1c115e2) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builder.py')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index fda0ce0caa..95402e04ba 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -96,6 +96,12 @@ class Configuration:
96 self.conf_version = params["conf_version"] 96 self.conf_version = params["conf_version"]
97 self.lconf_version = params["lconf_version"] 97 self.lconf_version = params["lconf_version"]
98 self.image_fstypes = params["image_fstypes"] 98 self.image_fstypes = params["image_fstypes"]
99 self.tune_arch = params["tune_arch"]
100 self.bb_version = params["bb_version"]
101 self.target_arch = params["target_arch"]
102 self.target_os = params["target_os"]
103 self.distro_version = params["distro_version"]
104 self.tune_pkgarch = params["tune_pkgarch"]
99 # bblayers.conf 105 # bblayers.conf
100 self.layers = params["layer"].split() 106 self.layers = params["layer"].split()
101 107
@@ -201,12 +207,6 @@ class Parameters:
201 self.runnable_machine_patterns = params["runnable_machine_patterns"].split() 207 self.runnable_machine_patterns = params["runnable_machine_patterns"].split()
202 self.deployable_image_types = params["deployable_image_types"].split() 208 self.deployable_image_types = params["deployable_image_types"].split()
203 self.tmpdir = params["tmpdir"] 209 self.tmpdir = params["tmpdir"]
204 self.distro_version = params["distro_version"]
205 self.target_os = params["target_os"]
206 self.target_arch = params["target_arch"]
207 self.tune_pkgarch = params["tune_pkgarch"]
208 self.bb_version = params["bb_version"]
209 self.tune_arch = params["tune_arch"]
210 self.enable_proxy = False 210 self.enable_proxy = False
211 211
212class Builder(gtk.Window): 212class Builder(gtk.Window):
@@ -656,7 +656,7 @@ class Builder(gtk.Window):
656 elif self.current_step == self.PACKAGE_GENERATING: 656 elif self.current_step == self.PACKAGE_GENERATING:
657 fraction = 0 657 fraction = 0
658 self.build_details_page.update_progress_bar("Build Started: ", fraction) 658 self.build_details_page.update_progress_bar("Build Started: ", fraction)
659 self.build_details_page.show_configurations(self.configuration, self.parameters) 659 self.build_details_page.show_configurations(self.configuration)
660 660
661 def build_succeeded(self): 661 def build_succeeded(self):
662 if self.current_step == self.FAST_IMAGE_GENERATING: 662 if self.current_step == self.FAST_IMAGE_GENERATING: