summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-04-24 16:16:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-24 10:15:36 +0100
commit0bf04aa4add83b93d9022bcafb213825f79402da (patch)
treeed58dc623288e5d2e635cea1ae7edc811a039e7b
parent612555e6fe8fac77b0d3b2becc740f52ceab9290 (diff)
downloadpoky-0bf04aa4add83b93d9022bcafb213825f79402da.tar.gz
poky-0bf04aa4add83b93d9022bcafb213825f79402da.tar.bz2
poky-0bf04aa4add83b93d9022bcafb213825f79402da.zip
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>
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig.py9
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):
data += ("SDK_MACHINE: " + self._get_sorted_value(self.configuration.curr_sdk_machine))
data += ("TOOLCHAIN_BUILD: " + self._get_sorted_value(self.configuration.toolchain_build))
data += ("IMAGE_FSTYPES: " + self._get_sorted_value(self.configuration.image_fstypes))
+ if self.enable_proxy:
+ data += ("ALL_PROXY: " + self._get_sorted_value(self.configuration.all_proxy))
+ data += ("HTTP_PROXY: " + self._get_sorted_value(self.configuration.http_proxy))
+ data += ("HTTPS_PROXY: " + self._get_sorted_value(self.configuration.https_proxy))
+ data += ("FTP_PROXY: " + self._get_sorted_value(self.configuration.ftp_proxy))
+ data += ("GIT_PROXY_HOST: " + self._get_sorted_value(self.configuration.git_proxy_host))
+ data += ("GIT_PROXY_PORT: " + self._get_sorted_value(self.configuration.git_proxy_port))
+ data += ("CVS_PROXY_HOST: " + self._get_sorted_value(self.configuration.cvs_proxy_host))
+ data += ("CVS_PROXY_PORT: " + self._get_sorted_value(self.configuration.cvs_proxy_port))
for key in self.configuration.extra_setting.keys():
data += (key + ": " + self._get_sorted_value(self.configuration.extra_setting[key]))
return hashlib.md5(data).hexdigest()