[bitbake-devel] [PATCH 1/1] fetch2/git.py:_latest_revision: respect BB_FETCH_PREMIRRORONLY

Robert Yang liezhi.yang at windriver.com
Fri Jan 8 06:14:11 UTC 2016



On 01/07/2016 09:56 PM, Richard Purdie wrote:
> On Wed, 2016-01-06 at 23:38 -0800, Robert Yang wrote:
>> Fixed when use a local BB_FETCH_PREMIRRORONLY for AUTOREV recipes:
>> SRCREV = "${AUTOREV}"
>> BB_NO_NETWORK = "1"
>> For example, the refpolicy-mls from meta-selinux:
>> $ bitbake refpolicy-mls -ccleanall/fetch
>
>
> This test case is incorrect, you shouldn't set BB_NO_NETWORK if you
> want to BB_FETCH_PREMIRRORONLY...

Sorry, I'm a little confused about this, the PREMIRROR can be on local
disk, so I think that we can set both BB_NO_NETWORK and BB_FETCH_PREMIRRORONLY ?

The commit message isn't correct enough, it should be:
"Fixed when use a local PREMIRROR for AUTOREV recipes"

// Robert

>
> Cheers,
>
> Richard
>



More information about the bitbake-devel mailing list