<br><br><div class="gmail_quote">On Sun, Mar 9, 2008 at 4:31 PM, Javi Roman &lt;<a href="mailto:javiroman@kernel-labs.org">javiroman@kernel-labs.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all.<br><br>I&#39;m trying to include a Java runtime enviroment in my rootfs (custom image). To do that I&#39;m doing the following bitbake package:<br><br>packages/java-sun/j2re_1.4.2-<a href="http://15.bb" target="_blank">15.bb</a>:<br>


<br>-----------------------------------------------<br>DESCRIPTION = &quot;Java 2 Runtime Environment from SUN&quot;<br>LICENSE = &quot;GPL&quot;<br>PR = &quot;r0&quot;<br><br>SRC_URI = &quot;<a href="http://localhost/downloads/java-sun/$%7BPN%7D-$%7BPV%7D-linux-i586.tar.gz" target="_blank">http://localhost/downloads/java-sun/${PN}-${PV}-linux-i586.tar.gz</a>&quot;<br>


<br>do_install () {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cp -a ${S}/* ${D}<br>}<br>--------------------------------------------------<br><br>The JRE package is a binary package with /usr/bin, /usr/lib, and so on. So I don&#39;t need make the source code.<br>


Whe I do &quot;bitbake j2re&quot; the OE framework shows the following output:<br><br>(...)<br>NOTE: Resolving any missing task queue dependencies<br>NOTE: multiple providers are available for virtual/i586-linux-binutils (binutils-cross, external-toolchain);<br>


NOTE: consider defining PREFERRED_PROVIDER_virtual/i586-linux-binutils<br>NOTE: multiple providers are available for virtual/i586-linux-libc-initial (glibc-initial, eglibc-initial);<br>NOTE: consider defining PREFERRED_PROVIDER_virtual/i586-linux-libc-initial<br>


NOTE: Preparing runqueue<br>NOTE: Executing runqueue<br>NOTE: Running task 1 of 1 (ID: 0, /home/jroman/HACK/TID/working_dir/OE_EPIA/local/packages/java-sun/j2re_1.4.2-<a href="http://15.bb" target="_blank">15.bb</a>, do_rebuild)<br>

NOTE: package j2re-1.4.2-15: started<br>
NOTE: package j2re-1.4.2-15-r0: task do_rebuild: started<br>NOTE: removing /home/jroman/HACK/TID/working_dir/OE_EPIA/build/tmp/work/i586-linux/j2re-1.4.2-15-r0<br>NOTE: removing /home/jroman/HACK/TID/working_dir/OE_EPIA/build/tmp/stamps/i586-linux/j2re-1.4.2-15-r0.*<br>


NOTE: package j2re-1.4.2-15-r0: task do_fetch: started<br>NOTE: j2re-1.4.2-15: <a href="http://localhost/downloads/edesa_embedded/binary/java-sun/j2re-1.4.2-15-linux-i586.tar.gz" target="_blank">http://localhost/downloads/java-sun/j2re-1.4.2-15-linux-i586.tar.gz</a> has no entry in conf/checksums.ini, not checking URI<br>


NOTE: package j2re-1.4.2-15-r0: task do_fetch: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_unpack: started<br>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/<br>


NOTE: package j2re-1.4.2-15-r0: task do_unpack: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_patch: started<br>NOTE: package j2re-1.4.2-15-r0: task do_patch: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_configure: started<br>


NOTE: package j2re-1.4.2-15-r0: task do_configure: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_compile: started<br>NOTE: package j2re-1.4.2-15-r0: task do_compile: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_install: started<br>


NOTE: package j2re-1.4.2-15-r0: task do_install: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_package: started<br>NOTE: the following files were installed but not shipped in any package:<br>NOTE:&nbsp;&nbsp; /usr/java/j2re1.4.2_15/THIRDPARTYLICENSEREADME.txt<br>


NOTE:&nbsp;&nbsp; /usr/java/j2re1.4.2_15/CHANGES<br>NOTE:&nbsp;&nbsp; /usr/java/j2re1.4.2_15/COPYRIGHT<br>(....)<br>NOTE:&nbsp;&nbsp; /usr/java/j2re1.4.2_15/lib/fonts/LucidaBrightItalic.ttf<br>NOTE:&nbsp;&nbsp; /usr/java/j2re1.4.2_15/lib/fonts/LucidaBrightDemiItalic.ttf<br>


NOTE:&nbsp;&nbsp; /usr/java/j2re1.4.2_15/lib/fonts/LucidaSansDemiOblique.ttf<br>NOTE: package j2re-1.4.2-15-r0: task do_package: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_package_write_ipk: started<br>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<br>


NOTE: Not creating empty archive for j2re-1.4.2-15-r0<br>NOTE: Not creating empty archive for j2re-doc-1.4.2-15-r0<br>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<br>


NOTE: Not creating empty archive for j2re-locale-1.4.2-15-r0<br>NOTE: package j2re-1.4.2-15-r0: task do_package_write_ipk: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_package_write: started<br>NOTE: package j2re-1.4.2-15-r0: task do_package_write: completed<br>


NOTE: package j2re-1.4.2-15-r0: task do_populate_staging: started<br>NOTE: package j2re-1.4.2-15-r0: task do_populate_staging: completed<br>NOTE: package j2re-1.4.2-15-r0: task do_build: started<br>NOTE: package j2re-1.4.2-15-r0: task do_build: completed<br>


NOTE: package j2re-1.4.2-15-r0: task do_rebuild: completed<br>NOTE: package j2re-1.4.2-15: completed<br>NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn&#39;t need to be rerun and 0 failed.<br>NOTE: build 200803091400: completed<br>


<br><br><br>1. Why OE tries to make j2re-doc, j2re-dev, j2re-dbg packages? I only need j2re package.<br>2. Why OE shows: &quot;NOTE: Not creating empty archive for j2re-1.4.2-15-r0&quot;<br>3. How can I do a standard package with binary files only?<br>

<br>Thanks.<br><font color="#888888"><br>&nbsp;&nbsp;&nbsp;&nbsp; - Javi Roman<br>
</font></blockquote></div><br>Humm, I&#39;m sorry for the question -&gt; <a href="http://www.openembedded.org/user-manual&amp;dpage=recipes_packages">http://www.openembedded.org/user-manual&amp;dpage=recipes_packages</a> explains everything!<br>
<br>greetings.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Javi Roman.<br>