ed: use yoctoproject mirror for SRC_URI

Message ID 1485188445-19983-1-git-send-email-ross.burton@intel.com
State Accepted
Commit 7d24d476e03f88bf47385f7a85ceb7c82662ed76
Headers show

Commit Message

Ross Burton Jan. 23, 2017, 4:20 p.m.
Upstream has removed a number of releases from the canonical download site,
including the 1.9 release we were using.

We shoud upgrade to the latest release but as new releases are only compressed
using lzip that means adding lzip-native to oe-core, so this is a suitable
short-term fix.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-extended/ed/ed_1.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Alexander Kanavin Jan. 23, 2017, 4:38 p.m. | #1
On 01/23/2017 06:20 PM, Ross Burton wrote:
> We shoud upgrade to the latest release but as new releases are only compressed

> using lzip that means adding lzip-native to oe-core, so this is a suitable

> short-term fix.


> -SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.gz"

> +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/${BP}.tar.gz"


Add UPSTREAM_CHECK_URI please (or file a bug), as I'll surely forget 
about the update if the RRS is going to report 'Up-to-date' for this.

Alex

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Jan. 23, 2017, 4:41 p.m. | #2
On 23 January 2017 at 16:38, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:

> Add UPSTREAM_CHECK_URI please (or file a bug), as I'll surely forget about

> the update if the RRS is going to report 'Up-to-date' for this.

>


Yes, was literally just filing a bug for this now.

(#10955)

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-extended/ed/ed_1.9.bb b/meta/recipes-extended/ed/ed_1.9.bb
index f2ec42a..83c31fc 100644
--- a/meta/recipes-extended/ed/ed_1.9.bb
+++ b/meta/recipes-extended/ed/ed_1.9.bb
@@ -11,7 +11,7 @@  SECTION = "base"
 # LSB states that ed should be in /bin/
 bindir = "${base_bindir}"
 
-SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.gz"
+SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/${BP}.tar.gz"
 
 SRC_URI[md5sum] = "565b6d1d5a9a8816b9b304fc4ed9405d"
 SRC_URI[sha256sum] = "d5b372cfadf073001823772272fceac2cfa87552c5cd5a8efc1c8aae61f45a88"