diff options
Diffstat (limited to 'meta/recipes-devtools/installer/files')
-rw-r--r-- | meta/recipes-devtools/installer/files/wget_cache.patch | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/meta/recipes-devtools/installer/files/wget_cache.patch b/meta/recipes-devtools/installer/files/wget_cache.patch index 1281d12a3b..9117510f1f 100644 --- a/meta/recipes-devtools/installer/files/wget_cache.patch +++ b/meta/recipes-devtools/installer/files/wget_cache.patch @@ -1,12 +1,21 @@ Upstream-Status: Inappropriate [configuration] ---- 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 @@ +--- + libopkg/opkg_download_wget.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libopkg/opkg_download_wget.c b/libopkg/opkg_download_wget.c +index 9001493..18ef91e 100644 +--- a/libopkg/opkg_download_wget.c ++++ b/libopkg/opkg_download_wget.c +@@ -50,6 +50,7 @@ int opkg_download_backend(const char *src, const char *dest, - argv[i++] = "wget"; - argv[i++] = "-q"; -+ argv[i++] = "--no-cache"; - if (conf->http_proxy || conf->ftp_proxy) { - argv[i++] = "-Y"; - argv[i++] = "on"; + argv[i++] = "wget"; + argv[i++] = "-q"; ++ argv[i++] = "--no-cache"; + if (opkg_config->http_proxy || opkg_config->ftp_proxy) { + argv[i++] = "-Y"; + argv[i++] = "on"; +-- +1.9.1 + |