I know. But
it really does not require to have libX* in the system to successfully run JDK+our software We're using simple tar xvzf jdk-...tar.gz in all of our embedded systems, so I know what I'm talking about, sorry. This feature blocks my efforts to have a well-designed system with Poky/Yocto... :(


On 01.12.2015 02:06, Khem Raj wrote:
On Nov 30, 2015, at 2:42 PM, Dvorkin Dmitry <dvor...@tibbo.com> wrote:


I'm trying to include binary JDK into my linux image.
just unpacking jdk-...tar.gz into recipe image and packing it into RPM (I'm 
using RPM as base of my distribution).

after adding
INSANE_SKIP_${PN} = "file-rdeps ldflags dev-so build-deps"
into recipe I've got no errors or warning while building recipe itself,
RPM is created and it contains some dynamic libraries dependencies....

but I've got error building rootfs with this recipe:

....(skipped)...
Updating cache... ######################################## [100%]

Computing transaction...error: Can't install 
tps-jdk-7u60+linux+arm+vfp+hflt-r0@cortexa8hf_vfp_neon: no package provides 
libXrender.so.1

I can't include libXrender.so.1 into my image, I can't remove libraries from 
JDK.

Is there any way to ignore this dependency?
No, and if you ignored it then this binary won’t function as expected on the 
system. So you should find out providers of missing
rdeps and add them to your image via depends

something like RPM_LDD_IGNORE_CHECK="libX*"

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

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

Reply via email to