Hi, Richard I resend the patch and corrected some problems including: 1) name bitbake_mode -> extracaches 2) move extra cache definition to a different files
And I test against cs (Add files missing from previous change, bc367526f85ec11f82826fa5ce6607b9e73f9273) And I did meet the problem of EOF of codeparser.py. But I found you have a new changeset for it, so it should be ok. And I found the mail sequence is not correct (patch 2/4 is the first one...). I verified patch 1~4 be applied sequentially, each patch will not break any previous code base:) As for multiple bitbake_mode support, if you have any input or suggestions, just let me know. I will make the patch for it. The reason I did not make it right away is that it will cause extra_cache array related code expanding(time stamping judging, several place etc). I want to have a confirmation for the current patches and then make further improvement. Thanks a lot for your help! criping > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Liping Ke > Sent: Friday, May 13, 2011 9:50 AM > To: [email protected] > Subject: [yocto] [PATCH 0/4][Image Creator]Put extra requested fields into > different cache files > > From: Liping Ke <[email protected]> > > Below four patches are for putting extra requested fields inito different > cache files instead of using only on bb_cache.dat. Now image creator need > extra three fields. And in the future, there might be more similar requests. > For each extra requestor, we will save the requested fields data into a > separate cache files so that those who don't need it will not be impacted > with larger fields and large data files. > > Pull URL: git://git.pokylinux.org/poky-contrib.git > Branch: lke/cache_impl > Browse: > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lke/cache_impl > > Thanks, > Liping Ke <[email protected]> > --- > > > Liping Ke (4): > This patch introduce new param bitbake_mode into Cache.py. > This patch splits Cache Data Retrieve method from Data Fields. > This patch introduces Extra required fields for image creator. > This patch implements independent cache for Extra Cache Fields > Request > > bitbake/lib/bb/cache.py | 161 > ++++++++++++++++++++++++++++++++--------- > bitbake/lib/bb/cooker.py | 55 ++++++++++---- > bitbake/lib/bb/extra_cache.py | 29 ++++++++ > 3 files changed, 196 insertions(+), 49 deletions(-) > create mode 100644 bitbake/lib/bb/extra_cache.py > > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
