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

Attachment: installer_bb.patch
Description: installer_bb.patch

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to