From 2e9e8af197671ae06de1bdc9201765b160869d60 Mon Sep 17 00:00:00 2001 From: Liping Ke Date: Thu, 10 Mar 2011 17:27:55 +0800 Subject: Disable wget server side cache We found some proxy server has wrong cache for long http file name. It will cause fetching wrong ipk files from adt repo. To avoid this, we use wget options --no-cache to disable all server side cache. It will make the fetch speed slower, yet correct always. Signed-off-by: Liping Ke Signed-off-by: Lianhao Lu --- meta/recipes-devtools/installer/files/wget_cache.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-devtools/installer/files/wget_cache.patch (limited to 'meta/recipes-devtools/installer/files') diff --git a/meta/recipes-devtools/installer/files/wget_cache.patch b/meta/recipes-devtools/installer/files/wget_cache.patch new file mode 100644 index 000000000..6fd38e5fc --- /dev/null +++ b/meta/recipes-devtools/installer/files/wget_cache.patch @@ -0,0 +1,10 @@ +--- trunk/libopkg/opkg_download.c 2011-03-10 16:41:29.000000000 +0800 ++++ trunk/libopkg/opkg_download.c 2011-03-10 16:42:33.000000000 +0800 +@@ -162,6 +162,7 @@ + + argv[i++] = "wget"; + argv[i++] = "-q"; ++ argv[i++] = "--no-cache"; + if (conf->http_proxy || conf->ftp_proxy) { + argv[i++] = "-Y"; + argv[i++] = "on"; -- cgit v1.2.3