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

Paul Eggleton paul.eggleton at linux.intel.com
Thu Apr 19 19:57:30 PDT 2018


Hi Robert

On Thursday, 19 April 2018 6:45:17 PM NZST Robert Yang wrote:
> 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.

My apologies - I didn't read the patch properly. Let me take a closer look at 
it tomorrow.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre





More information about the yocto mailing list