On Thu, Jul 30, 2015 at 5:32 AM, Olof Johansson <olof.johans...@axis.com> wrote: > Excerpts from Robert Yang's message of 2015-07-30 09:09:07 +0200: >> PREMIRRORS is for all the recipes/protocols ? > > No, PREMIRRORS is quite expressive, for instance: > > PREMIRRORS = " \ > https?$://downloads.example.org$/.* http://mirror.example.com/ \n \ > " > > This should only premirror downloads.example.com files, fetched via http > or https. See the bitbake fetcher's uri_replace method in > bitbake/lib/bb/fetch2/__init__.py for the implementation.
Yes, you can. But the mirrors scheme allows for, for example, map it for git:// and https:// protocols without changing the recipes. I am in favor of consistency here and having a unique var for github helps. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core