[OE-core] [PATCH 1/1] testsdk.bbclass: set PREMIRRORS for kernel to speed up test

ChenQi Qi.Chen at windriver.com
Fri May 4 02:48:57 UTC 2018


On 05/03/2018 10:38 PM, Burton, Ross wrote:
> On 3 May 2018 at 09:52, Chen Qi <Qi.Chen at windriver.com 
> <mailto:Qi.Chen at windriver.com>> wrote:
>
>     +     f.write('PREMIRRORS_prepend = "
>     git://git.yoctoproject.org/.* <http://git.yoctoproject.org/.*>
>     git://%s/git2/git.yoctoproject.org.BASENAME;protocal=file \\n "\n'
>     % test_data.get('DL_DIR'))
>
>
> protocal?
>
> We could turn on BB_GENERATE_SOURCE_MIRRORS by default.  What's the 
> overhead?
>
> Ross

Hi Ross,

I didn't test the overhead.

The reference manual says that this variable is only useful when users 
want to generate a source mirror.

Some related info from bitbake/Changelog
"""
         - Add BB_GENERATE_MIRROR_TARBALLS option, set to 0 to make git 
fetches
           faster at the expense of not creating mirror tarballs.
"""

Besides, testsdkext is a task to verify correctness. It does not affect 
the generated eSDK that the users actually use. I'm not sure if I should 
change some default value merely to speed it up. I'd rather do some 
tweaks to this task instead of doing some change which could affect the 
building results.

That's why I chose not to change its default value.

I've removed the 'protocol=file' and sent out V2.

Best Regards,
Chen Qi


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180504/8e8fd351/attachment-0002.html>


More information about the Openembedded-core mailing list