[poky] PREMIRRORS in yocto, do they actually work?
Gary Thomas
gary at mlbassoc.com
Sun Jan 2 09:15:30 PST 2011
On 01/02/2011 10:08 AM, Koen Kooi wrote:
> 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?
I too have been struggling with this as I'd like to have
a local repository to hold the current source set. Sadly,
as you've observed, it doesn't work, at least not as expected.
What error(s) do you get when a GIT based package needs to
be fetched?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the poky
mailing list