On Sun, Mar 9, 2008 at 4:31 PM, Javi Roman <[EMAIL PROTECTED]> wrote:
> Hi all. > > I'm trying to include a Java runtime enviroment in my rootfs (custom > image). To do that I'm doing the following bitbake package: > > packages/java-sun/j2re_1.4.2-15.bb: > > ----------------------------------------------- > DESCRIPTION = "Java 2 Runtime Environment from SUN" > LICENSE = "GPL" > PR = "r0" > > SRC_URI = " > http://localhost/downloads/java-sun/${PN}-${PV}-linux-i586.tar.gz<http://localhost/downloads/java-sun/$%7BPN%7D-$%7BPV%7D-linux-i586.tar.gz> > " > > do_install () { > cp -a ${S}/* ${D} > } > -------------------------------------------------- > > The JRE package is a binary package with /usr/bin, /usr/lib, and so on. So > I don't need make the source code. > Whe I do "bitbake j2re" the OE framework shows the following output: > > (...) > NOTE: Resolving any missing task queue dependencies > NOTE: multiple providers are available for virtual/i586-linux-binutils > (binutils-cross, external-toolchain); > NOTE: consider defining PREFERRED_PROVIDER_virtual/i586-linux-binutils > NOTE: multiple providers are available for virtual/i586-linux-libc-initial > (glibc-initial, eglibc-initial); > NOTE: consider defining PREFERRED_PROVIDER_virtual/i586-linux-libc-initial > NOTE: Preparing runqueue > NOTE: Executing runqueue > NOTE: Running task 1 of 1 (ID: 0, > /home/jroman/HACK/TID/working_dir/OE_EPIA/local/packages/java-sun/j2re_1.4.2- > 15.bb, do_rebuild) > NOTE: package j2re-1.4.2-15: started > NOTE: package j2re-1.4.2-15-r0: task do_rebuild: started > NOTE: removing > /home/jroman/HACK/TID/working_dir/OE_EPIA/build/tmp/work/i586-linux/j2re- > 1.4.2-15-r0 > NOTE: removing > /home/jroman/HACK/TID/working_dir/OE_EPIA/build/tmp/stamps/i586-linux/j2re- > 1.4.2-15-r0.* > NOTE: package j2re-1.4.2-15-r0: task do_fetch: started > NOTE: j2re-1.4.2-15: > http://localhost/downloads/java-sun/j2re-1.4.2-15-linux-i586.tar.gz<http://localhost/downloads/edesa_embedded/binary/java-sun/j2re-1.4.2-15-linux-i586.tar.gz>has > no entry in conf/checksums.ini, not checking URI > NOTE: package j2re-1.4.2-15-r0: task do_fetch: completed > NOTE: package j2re-1.4.2-15-r0: task do_unpack: started > NOTE: Unpacking /home/jroman/HACK/TID/working_dir/OE_EPIA/sources/j2re- > 1.4.2-15-linux-i586.tar.gz to > /home/jroman/HACK/TID/working_dir/OE_EPIA/build/tmp/work/i586-linux/j2re- > 1.4.2-15-r0/ > NOTE: package j2re-1.4.2-15-r0: task do_unpack: completed > NOTE: package j2re-1.4.2-15-r0: task do_patch: started > NOTE: package j2re-1.4.2-15-r0: task do_patch: completed > NOTE: package j2re-1.4.2-15-r0: task do_configure: started > NOTE: package j2re-1.4.2-15-r0: task do_configure: completed > NOTE: package j2re-1.4.2-15-r0: task do_compile: started > NOTE: package j2re-1.4.2-15-r0: task do_compile: completed > NOTE: package j2re-1.4.2-15-r0: task do_install: started > NOTE: package j2re-1.4.2-15-r0: task do_install: completed > NOTE: package j2re-1.4.2-15-r0: task do_package: started > NOTE: the following files were installed but not shipped in any package: > NOTE: /usr/java/j2re1.4.2_15/THIRDPARTYLICENSEREADME.txt > NOTE: /usr/java/j2re1.4.2_15/CHANGES > NOTE: /usr/java/j2re1.4.2_15/COPYRIGHT > (....) > NOTE: /usr/java/j2re1.4.2_15/lib/fonts/LucidaBrightItalic.ttf > NOTE: /usr/java/j2re1.4.2_15/lib/fonts/LucidaBrightDemiItalic.ttf > NOTE: /usr/java/j2re1.4.2_15/lib/fonts/LucidaSansDemiOblique.ttf > NOTE: package j2re-1.4.2-15-r0: task do_package: completed > NOTE: package j2re-1.4.2-15-r0: task do_package_write_ipk: started > Packaged contents of j2re-dbg into > /home/jroman/HACK/TID/working_dir/OE_EPIA/build/tmp/deploy/ipk/i586/j2re-dbg_1.4.2-15-r0_i586.ipk > NOTE: Not creating empty archive for j2re-1.4.2-15-r0 > NOTE: Not creating empty archive for j2re-doc-1.4.2-15-r0 > Packaged contents of j2re-dev into > /home/jroman/HACK/TID/working_dir/OE_EPIA/build/tmp/deploy/ipk/i586/j2re-dev_1.4.2-15-r0_i586.ipk > NOTE: Not creating empty archive for j2re-locale-1.4.2-15-r0 > NOTE: package j2re-1.4.2-15-r0: task do_package_write_ipk: completed > NOTE: package j2re-1.4.2-15-r0: task do_package_write: started > NOTE: package j2re-1.4.2-15-r0: task do_package_write: completed > NOTE: package j2re-1.4.2-15-r0: task do_populate_staging: started > NOTE: package j2re-1.4.2-15-r0: task do_populate_staging: completed > NOTE: package j2re-1.4.2-15-r0: task do_build: started > NOTE: package j2re-1.4.2-15-r0: task do_build: completed > NOTE: package j2re-1.4.2-15-r0: task do_rebuild: completed > NOTE: package j2re-1.4.2-15: completed > NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun > and 0 failed. > NOTE: build 200803091400: completed > > > > 1. Why OE tries to make j2re-doc, j2re-dev, j2re-dbg packages? I only need > j2re package. > 2. Why OE shows: "NOTE: Not creating empty archive for j2re-1.4.2-15-r0" > 3. How can I do a standard package with binary files only? > > Thanks. > > - Javi Roman > Humm, I'm sorry for the question -> http://www.openembedded.org/user-manual&dpage=recipes_packages explains everything! greetings. -Javi Roman.
_______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
