[poky] PREMIRRORS in yocto, do they actually work?

Koen Kooi koen at dominion.thruhere.net
Sun Jan 2 09:08:56 PST 2011


Hi,

I would like to have the fetchter try my PREMIRROS first before trying to fetch from git. In OE I have the following in a bbclass:

PREMIRRORS_append () {
git://.*/.* http://www.angstrom-distribution.org/unstable/sources/
}

When used in OE that works, but in yocto it doesn't. So I tried to do it poky style in a .inc:

PREMIRRORS_append = "\
git://.*/.*   http:/www.angstrom-distribution.org/sources/ \n"

Which also doesn't work since it doesn't try to fetch from there, but it does mention "http:/www.angstrom-distribution.org/sources/" in the fetch error message when git read-tree fails.

So my question: how do I make it work in yocto like it works in OE?

regards,

Koen


More information about the poky mailing list