On 05/03/2018 10:38 PM, Burton, Ross wrote:
On 3 May 2018 at 09:52, Chen Qi <[email protected] <mailto:[email protected]>> 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


-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to