[yocto] [PATCH 4/4] update_layer.py: move layer validation to update.py (Performance improve)

Robert Yang liezhi.yang at windriver.com
Wed Apr 18 23:45:17 PDT 2018


Hi Paul,

On 04/19/2018 04:55 AM, Paul Eggleton wrote:
> On Wednesday, 18 April 2018 11:04:33 PM NZST Robert Yang wrote:
>> The utils.setup_django() costs a lot of time, but both update.py and
>> update_layer.py calls it, so move layer validation from update_layer.py to
>> update.py to avoid calling update_layer.py when possible can save a lot of
>> time.
> 
> Unfortunately I still can't merge this, as mentioned earlier it breaks
> handling older python 2-bound releases.

I think you're talking about the one that I sent a few months ago, but this
one is a completely new patch, that one moved tinfoil into update.py which
broke python2, but this patch doesn't, it doesn't touch anything about tinfo,
so it works when I switch from YP 2.0 -> 2.2 -> 2.4, and vice visa.

// Robert

> 
> Cheers,
> Paul
> 



More information about the yocto mailing list