diff options
| -rw-r--r-- | meta/recipes-devtools/installer/adt-installer_1.0.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/installer/files/wget_cache.patch | 10 |
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" | |||
| 36 | ADT_DEPLOY = "${TMPDIR}/deploy/sdk/" | 36 | ADT_DEPLOY = "${TMPDIR}/deploy/sdk/" |
| 37 | ADT_DIR = "${WORKDIR}/adt-installer/" | 37 | ADT_DIR = "${WORKDIR}/adt-installer/" |
| 38 | YOCTOADT_VERSION = "${SDK_VERSION}" | 38 | YOCTOADT_VERSION = "${SDK_VERSION}" |
| 39 | S = "${WORKDIR}/trunk" | ||
| 39 | 40 | ||
| 40 | inherit deploy | 41 | inherit deploy |
| 41 | 42 | ||
| 42 | PV = "0.1.8+svnr${SRCPV}" | 43 | PV = "0.1.8+svnr${SRCPV}" |
| 43 | SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ | 44 | SRC_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 | ||
| 73 | do_patch[noexec] = "1" | ||
| 74 | do_install[noexec] = "1" | 75 | do_install[noexec] = "1" |
| 75 | do_configure[noexec] = "1" | 76 | do_configure[noexec] = "1" |
| 76 | do_compile[noexec] = "1" | 77 | do_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"; | ||
