Patchwork [2/2] classes/mirrors.bbclass: Point snapshot.debian.org mirror to working location

login
register
mail settings
Submitter Khem Raj
Date May 9, 2012, 12:43 a.m.
Message ID <9ebe1b84f4b1497ed0469d13b3e768b85d4020da.1336524034.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/27333/
State Accepted
Commit 15e8aa4cd773022b36a66f70e4f6436289f3d1bc
Headers show

Comments

Khem Raj - May 9, 2012, 12:43 a.m.
If you point to snapshot.debian.net/archive/pool then it will fetch
you a html page which will end up in corrupt download. The locations
have changed for archives and here we point the mirror to right
location.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/mirrors.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Saul Wold - May 16, 2012, 6:02 p.m.
On 05/09/2012 03:43 AM, Khem Raj wrote:
> If you point to snapshot.debian.net/archive/pool then it will fetch
> you a html page which will end up in corrupt download. The locations
> have changed for archives and here we point the mirror to right
> location.
>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>
> ---
>   meta/classes/mirrors.bbclass |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
> index bf23e05..86ccd7a 100644
> --- a/meta/classes/mirrors.bbclass
> +++ b/meta/classes/mirrors.bbclass
> @@ -1,5 +1,5 @@
>   MIRRORS += "\
> -${DEBIAN_MIRROR}/main	http://snapshot.debian.net/archive/pool \n \
> +${DEBIAN_MIRROR}/main	http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool/ \n \
>   ${DEBIAN_MIRROR}	ftp://ftp.de.debian.org/debian/pool \n \
>   ${DEBIAN_MIRROR}	ftp://ftp.au.debian.org/debian/pool \n \
>   ${DEBIAN_MIRROR}	ftp://ftp.cl.debian.org/debian/pool \n \

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index bf23e05..86ccd7a 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -1,5 +1,5 @@ 
 MIRRORS += "\
-${DEBIAN_MIRROR}/main	http://snapshot.debian.net/archive/pool \n \
+${DEBIAN_MIRROR}/main	http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool/ \n \
 ${DEBIAN_MIRROR}	ftp://ftp.de.debian.org/debian/pool \n \
 ${DEBIAN_MIRROR}	ftp://ftp.au.debian.org/debian/pool \n \
 ${DEBIAN_MIRROR}	ftp://ftp.cl.debian.org/debian/pool \n \