diff options
| author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-04-24 16:16:11 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-24 10:14:48 +0100 |
| commit | 544553b12b3ca111abd555f84eab1e68f648b829 (patch) | |
| tree | d32c4b94facfd25660f846e5bb2aff75ad3a9837 /bitbake/lib/bb | |
| parent | 86abb3699aff245ab4095858ba8dbba78ab46f29 (diff) | |
| download | poky-544553b12b3ca111abd555f84eab1e68f648b829.tar.gz | |
Hob: Add proxy setting into setting's md5
If user changed the proxy setting, we will reparse configuration because
it may need sanity check.
(Bitbake rev: 0be54917cd88ea8f110027a7840ac69a411fd589)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 93a4fbc2f4..4baf960a48 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
| @@ -356,6 +356,15 @@ class AdvancedSettingDialog (CrumbsDialog): | |||
| 356 | data += ("SDK_MACHINE: " + self._get_sorted_value(self.configuration.curr_sdk_machine)) | 356 | data += ("SDK_MACHINE: " + self._get_sorted_value(self.configuration.curr_sdk_machine)) |
| 357 | data += ("TOOLCHAIN_BUILD: " + self._get_sorted_value(self.configuration.toolchain_build)) | 357 | data += ("TOOLCHAIN_BUILD: " + self._get_sorted_value(self.configuration.toolchain_build)) |
| 358 | data += ("IMAGE_FSTYPES: " + self._get_sorted_value(self.configuration.image_fstypes)) | 358 | data += ("IMAGE_FSTYPES: " + self._get_sorted_value(self.configuration.image_fstypes)) |
| 359 | if self.enable_proxy: | ||
| 360 | data += ("ALL_PROXY: " + self._get_sorted_value(self.configuration.all_proxy)) | ||
| 361 | data += ("HTTP_PROXY: " + self._get_sorted_value(self.configuration.http_proxy)) | ||
| 362 | data += ("HTTPS_PROXY: " + self._get_sorted_value(self.configuration.https_proxy)) | ||
| 363 | data += ("FTP_PROXY: " + self._get_sorted_value(self.configuration.ftp_proxy)) | ||
| 364 | data += ("GIT_PROXY_HOST: " + self._get_sorted_value(self.configuration.git_proxy_host)) | ||
| 365 | data += ("GIT_PROXY_PORT: " + self._get_sorted_value(self.configuration.git_proxy_port)) | ||
| 366 | data += ("CVS_PROXY_HOST: " + self._get_sorted_value(self.configuration.cvs_proxy_host)) | ||
| 367 | data += ("CVS_PROXY_PORT: " + self._get_sorted_value(self.configuration.cvs_proxy_port)) | ||
| 359 | for key in self.configuration.extra_setting.keys(): | 368 | for key in self.configuration.extra_setting.keys(): |
| 360 | data += (key + ": " + self._get_sorted_value(self.configuration.extra_setting[key])) | 369 | data += (key + ": " + self._get_sorted_value(self.configuration.extra_setting[key])) |
| 361 | return hashlib.md5(data).hexdigest() | 370 | return hashlib.md5(data).hexdigest() |
