Skip to contentSkip to conversation

ALT_SRC_URI ?

DISCUSSION David Nyström 3 participants 3 messages May 30, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

Since meta-fsl-ppc:s git daemon(git://git.freescale.com) was down, I experimented with adding the http reference as a mirror.

MIRRORS_prepend = "\
git://git.freescale.com/ppc/sdk/linux.git git://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git;protocol=http \n "

Which failed and gave me:
http://pastebin.com/5sTQ0eMC

It shows bitbake trying to fetch something assumed to be created as a bitbake mirror, mangling the name.

How would I go about doing above ?, getting it to failover to my own specified link ?

I'm on denzil.

Br,
David

#1 lore raw
Quoted 9 lines · David Nyström

Hi,

Since meta-fsl-ppc:s git daemon(git://git.freescale.com) was down, I experimented with adding the http reference as a mirror.

MIRRORS_prepend = "\
git://git.freescale.com/ppc/sdk/linux.git
git://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git;protocol=http \n "

Quoted 8 lines

Which failed and gave me:
http://pastebin.com/5sTQ0eMC

It shows bitbake trying to fetch something assumed to be created as a bitbake mirror, mangling the name.

How would I go about doing above ?, getting it to failover to my own specified link ?

It appears to expect mirrors to be in a tarred up bare git repository. Not sure if there is a way around this. You could do an override somewhere:

SRC_URI_pn-linux-qoriq-sdk = "git://some/other/place"

-M

#2 lore raw
Quoted 16 lines · On Wed, 2012-05-30 at 16:08 +0000, McClintock Matthew-B29882 wrote:
Quoted 15 lines · David Nyström

Hi,

Since meta-fsl-ppc:s git daemon(git://git.freescale.com) was down, I experimented with adding the http reference as a mirror.

MIRRORS_prepend = "\
git://git.freescale.com/ppc/sdk/linux.git
git://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git;protocol=http \n "

Which failed and gave me:
http://pastebin.com/5sTQ0eMC

It shows bitbake trying to fetch something assumed to be created as a bitbake mirror, mangling the name.

Quoted 8 lines
Quoted 2 lines

How would I go about doing above ?, getting it to failover to my own specified link ?

It appears to expect mirrors to be in a tarred up bare git repository. Not sure if there is a way around this. You could do an override somewhere:

SRC_URI_pn-linux-qoriq-sdk = "git://some/other/place"

There is an open bug on this issue. Fixing it requires some invasive changes to the fetcher code so its not been done yet and I wanted to get the checksum issues out the way first.

Cheers,

Richard