[OE-core] [PATCH 0/3] Realize archiver.bbclass

Xiaofeng Yan xiaofeng.yan at windriver.com
Tue Mar 6 11:16:24 UTC 2012


On 2012年03月06日 06:28, Saul Wold wrote:
> On 03/03/2012 02:53 AM, Xiaofeng Yan wrote:
>> From: Xiaofeng Yan<xiaofeng.yan at windriver.com>
>>
>> archiver.bbclass is for archiving sources , patches and logs 
>> including .bb and .inc files by configuring 
>> archiver_configure.bbclass which control what a archiving package 
>> should include.
>> For archiving a source rpm package, I add some functions to 
>> package_rpm.bbclass.
>> I also merge source_pkg.bbclass to archiver.bbclass due to their 
>> similar functions.
>>
> Are you going to deprecate/remove the other classes sourcepkg.bbclass, 
> src_distribute.bbclass, src_distribute_local.bbclass and 
> copyleft_compliance.bbclass
>
sourcepkg.bbclass has been merged into archiver.bbclass. others can't be 
merged into archiver.bbclass.

I will merge them to archiver.bbclass in V2 and remove tem.
> I am still reviewing this and would like to get ACKs from Chris and Mark.
>
> This is going to require some review and testing. I also sent and 
> email about the archiver_configure class.
>
> Can you please let us know how you tested, this is an important change 
> and we would like to get it close to correct the first time through.
>
inherit archiver_configure.bbclass in a global bbclass file, for example 
package_rpm.bbclass and then run "bitbake core-image-sato" or "bitbake 
package_name".

archiving package should be deployed in tmp/deploy/sources/ when 
finishing this building.

> Thanks for your effort on this.
>
> Sau!
>
>> Pull URL: git://git.pokylinux.org/poky-contrib.git
>> Branch: xiaofeng/1977
>> Browse: 
>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/1977
>>
>> Thanks,
>> Xiaofeng Yan<xiaofeng.yan at windriver.com>
>> ---
>>
>>
>> Xiaofeng Yan (3):
>> package_rpm.bbclass: Add srpm function
>> archiver.bbclass: archive sources, patches,logs to tarball
>> archiver_configure.bbclass: configure the content for archiving
>> package
>>
>> meta/classes/archiver.bbclass | 393 +++++++++++++++++++++++++++++++
>> meta/classes/archiver_configure.bbclass | 35 +++
>> meta/classes/package_rpm.bbclass | 54 ++++-
>> 3 files changed, 479 insertions(+), 3 deletions(-)
>> create mode 100644 meta/classes/archiver.bbclass
>> create mode 100644 meta/classes/archiver_configure.bbclass
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>





More information about the Openembedded-core mailing list