[yocto] Help to review installer bb class file

Ke, Liping liping.ke at intel.com
Thu Dec 16 19:39:22 PST 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: installer_bb.patch
Type: application/octet-stream
Size: 1548 bytes
Desc: installer_bb.patch
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20101217/44434b9f/attachment.obj>


More information about the yocto mailing list