[yocto] Help to review installer bb class file

Ke, Liping liping.ke at intel.com
Sun Dec 19 18:47:04 PST 2010


Hi, all

Apart from Ke's suggestion that I need to add chksum for download file,
any other feedbacks?

Thanks& Regards,
criping

> -----Original Message-----
> From: yocto-bounces at yoctoproject.org [mailto:yocto-
> bounces at yoctoproject.org] On Behalf Of Ke, Liping
> Sent: Friday, December 17, 2010 11:39 AM
> To: Zhang, Jessica; Lu, Lianhao; Lock, Joshua
> Cc: yocto at yoctoproject.org
> Subject: [yocto] Help to review installer bb class file
> 
> Hi, Jessica and Josh
> 
> This is a simple bb class file for generating installer tarball. And
> thanks for Lianhao/ke/Dexuan...'s help which saves me lots of efforts...
> 
> It contains below steps:
> 
> 1. fetch opkg source tarball to download location  and  copy other six
> files (opkg conf, scripts, user conf) to workdir (do_fetch) 2.
> unpacking  opkg source tarball to workdir (do_unpack). {So accordingly,
> in installer script, I will remove the untar step} 3. when do_install,
> tar the the opkg source file directory as well as other six files and
> copy it to sdk output directory (tmp/deploy/sdk)
> 
> After bitbaking, adt-installer.tar.bz2 will be in
> ${build}/tmp/deploy/sdk and untar it. User can untar the tarball and
> running yocto_install installation script.
> 
> I only attach bb file in the attachment. For installer, after RP's
> review, I will merge it into the final patch together with this bb file.
> If you're interest about the current installer implementation, please
> fetch it @ http://llu-piketon.sh.intel.com/installer.tar
> 
> 
> Any comments are highly appreciated. Actually I am not very sure about
> many options in bb file.
> 
> 
> Thanks & Regards,
> criping



More information about the yocto mailing list