Patchwork adt-installer: Switch from svn to tarball release for opkg

login
register
mail settings
Submitter Richard Purdie
Date Nov. 22, 2013, 4:19 p.m.
Message ID <1385137176.16887.180.camel@ted>
Download mbox | patch
Permalink /patch/62245/
State Accepted
Commit 02a697cac5400e7b6fc7b955e2e1cbc51ae161bb
Headers show

Comments

Richard Purdie - Nov. 22, 2013, 4:19 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 88650ae..a4cdde5 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"
 ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
 ADT_DIR = "${WORKDIR}/adt-installer/"
 YOCTOADT_VERSION = "${SDK_VERSION}"
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/opkg-${PV}"
 
-SRCREV = "596"
-PV = "0.1.8+svnr${SRCPV}"
-SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;protocol=http \
+PV = "0.2.0"
+SRC_URI = "https://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
            file://wget_cache.patch \
            file://adt_installer \
            file://scripts/adt_installer_internal \
@@ -49,6 +48,9 @@  SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;protocol=http \
            file://opkg/conf/opkg-sdk-i686.conf \
 	  "
 
+SRC_URI[md5sum] = "e8a6fd34fb2529191fe09dc14c934cc3"
+SRC_URI[sha256sum] = "81b7055eb4c12c5e5652339305c9236cf357890717d4bea063963f3f434d966f"
+
 ADTREPO ?= "http://adtrepo.yoctoproject.org/${SDK_VERSION}"
 
 do_populate_adt[umask] = "022"
@@ -61,8 +63,8 @@  fakeroot do_populate_adt () {
 	mkdir -p ${ADT_DIR}/opkg/build
 	cp -r opkg ${ADT_DIR}/
 	sed -i -e 's#ADTREPO_URL#${ADTREPO}#' ${ADT_DIR}/opkg/conf/*.conf
-	cp -r trunk ${ADT_DIR}/opkg/build/
-	mv ${ADT_DIR}/opkg/build/trunk ${ADT_DIR}/opkg/build/opkg-svn
+	cp -r opkg-${PV} ${ADT_DIR}/opkg/build/
+	mv ${ADT_DIR}/opkg/build/opkg-${PV} ${ADT_DIR}/opkg/build/opkg-svn
 	rm -rf ${ADT_DIR}/opkg/build/opkg-svn/patches ${ADT_DIR}/opkg/build/opkg-svn/.pc
 	cp -r scripts ${ADT_DIR}/
 	cp adt_installer ${ADT_DIR}