summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-22 16:12:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-24 12:25:36 +0000
commit02a697cac5400e7b6fc7b955e2e1cbc51ae161bb (patch)
tree3bb376a29da44a167c9d4af9b80d418ca9203fb8 /meta/recipes-devtools
parentb62bdbd135d3c2cf02b62d68e46b76a5ccda3331 (diff)
downloadpoky-02a697cac5400e7b6fc7b955e2e1cbc51ae161bb.tar.gz
adt-installer: Switch from svn to tarball release for opkg
(From OE-Core rev: 899fd09328a35228a5c96785131930b69ef19a49) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/installer/adt-installer_1.0.bb14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 88650ae8b0..a4cdde5701 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -33,11 +33,10 @@ PR = "r11"
33ADT_DEPLOY = "${TMPDIR}/deploy/sdk/" 33ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
34ADT_DIR = "${WORKDIR}/adt-installer/" 34ADT_DIR = "${WORKDIR}/adt-installer/"
35YOCTOADT_VERSION = "${SDK_VERSION}" 35YOCTOADT_VERSION = "${SDK_VERSION}"
36S = "${WORKDIR}/trunk" 36S = "${WORKDIR}/opkg-${PV}"
37 37
38SRCREV = "596" 38PV = "0.2.0"
39PV = "0.1.8+svnr${SRCPV}" 39SRC_URI = "https://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
40SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;protocol=http \
41 file://wget_cache.patch \ 40 file://wget_cache.patch \
42 file://adt_installer \ 41 file://adt_installer \
43 file://scripts/adt_installer_internal \ 42 file://scripts/adt_installer_internal \
@@ -49,6 +48,9 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;protocol=http \
49 file://opkg/conf/opkg-sdk-i686.conf \ 48 file://opkg/conf/opkg-sdk-i686.conf \
50 " 49 "
51 50
51SRC_URI[md5sum] = "e8a6fd34fb2529191fe09dc14c934cc3"
52SRC_URI[sha256sum] = "81b7055eb4c12c5e5652339305c9236cf357890717d4bea063963f3f434d966f"
53
52ADTREPO ?= "http://adtrepo.yoctoproject.org/${SDK_VERSION}" 54ADTREPO ?= "http://adtrepo.yoctoproject.org/${SDK_VERSION}"
53 55
54do_populate_adt[umask] = "022" 56do_populate_adt[umask] = "022"
@@ -61,8 +63,8 @@ fakeroot do_populate_adt () {
61 mkdir -p ${ADT_DIR}/opkg/build 63 mkdir -p ${ADT_DIR}/opkg/build
62 cp -r opkg ${ADT_DIR}/ 64 cp -r opkg ${ADT_DIR}/
63 sed -i -e 's#ADTREPO_URL#${ADTREPO}#' ${ADT_DIR}/opkg/conf/*.conf 65 sed -i -e 's#ADTREPO_URL#${ADTREPO}#' ${ADT_DIR}/opkg/conf/*.conf
64 cp -r trunk ${ADT_DIR}/opkg/build/ 66 cp -r opkg-${PV} ${ADT_DIR}/opkg/build/
65 mv ${ADT_DIR}/opkg/build/trunk ${ADT_DIR}/opkg/build/opkg-svn 67 mv ${ADT_DIR}/opkg/build/opkg-${PV} ${ADT_DIR}/opkg/build/opkg-svn
66 rm -rf ${ADT_DIR}/opkg/build/opkg-svn/patches ${ADT_DIR}/opkg/build/opkg-svn/.pc 68 rm -rf ${ADT_DIR}/opkg/build/opkg-svn/patches ${ADT_DIR}/opkg/build/opkg-svn/.pc
67 cp -r scripts ${ADT_DIR}/ 69 cp -r scripts ${ADT_DIR}/
68 cp adt_installer ${ADT_DIR} 70 cp adt_installer ${ADT_DIR}