summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/installer/adt-installer_1.0.bb3
-rw-r--r--meta/recipes-devtools/installer/files/wget_cache.patch10
2 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 50290f9ffd..ff7afe6623 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -36,11 +36,13 @@ PR = "r0"
36ADT_DEPLOY = "${TMPDIR}/deploy/sdk/" 36ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
37ADT_DIR = "${WORKDIR}/adt-installer/" 37ADT_DIR = "${WORKDIR}/adt-installer/"
38YOCTOADT_VERSION = "${SDK_VERSION}" 38YOCTOADT_VERSION = "${SDK_VERSION}"
39S = "${WORKDIR}/trunk"
39 40
40inherit deploy 41inherit deploy
41 42
42PV = "0.1.8+svnr${SRCPV}" 43PV = "0.1.8+svnr${SRCPV}"
43SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ 44SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
45 file://wget_cache.patch \
44 file://adt_installer \ 46 file://adt_installer \
45 file://scripts/adt_installer_internal \ 47 file://scripts/adt_installer_internal \
46 file://scripts/util \ 48 file://scripts/util \
@@ -70,7 +72,6 @@ fakeroot do_deploy () {
70 cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY} 72 cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY}
71} 73}
72 74
73do_patch[noexec] = "1"
74do_install[noexec] = "1" 75do_install[noexec] = "1"
75do_configure[noexec] = "1" 76do_configure[noexec] = "1"
76do_compile[noexec] = "1" 77do_compile[noexec] = "1"
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 0000000000..6fd38e5fc4
--- /dev/null
+++ b/meta/recipes-devtools/installer/files/wget_cache.patch
@@ -0,0 +1,10 @@
1--- trunk/libopkg/opkg_download.c 2011-03-10 16:41:29.000000000 +0800
2+++ trunk/libopkg/opkg_download.c 2011-03-10 16:42:33.000000000 +0800
3@@ -162,6 +162,7 @@
4
5 argv[i++] = "wget";
6 argv[i++] = "-q";
7+ argv[i++] = "--no-cache";
8 if (conf->http_proxy || conf->ftp_proxy) {
9 argv[i++] = "-Y";
10 argv[i++] = "on";