Community
cancel
Showing results for 
Search instead for 
Did you mean: 
PBuel
New Contributor I
1,215 Views

Building Edison Yocto image without Java

I've been working on this for a few days. Does anyone know how to remove Java from the 3.5 BSP? I don't need Java, UPM, Javascript, NodeJS, tinyb, or any other Java dependency at this time. My project is strictly console C++ using QT5 and doesn't need all the extra stuff that Java and NodeJS brings with it. Basically, I would like to turn them off. However, simply editing recipes to remove references to those packages isn't doing it. I knowAnyone know what the root for this is? How do I simply remove Java from the latest Yocto image?

0 Kudos
4 Replies
idata
Community Manager
83 Views

Hi PeteB,

Thanks for your interest in the Intel Edison Platform.

I'm sorry to hear that you are having problems removing undesired packages from your customize image. Have you already checked this guide http://www.intel.com/content/www/us/en/support/boards-and-kits/000005616.html Board Support Package (BSP) User Guide for Intel® Edison Development... ? Please refer to Section 4 where it explains how to remove packages from your image.

If you already followed the guide provided above, please let me know the steps that you are taking to customize your image, so that I can replicate your issue.

I will be waiting for your reply, have a nice day!

Best Regards,

 

-Jose P.
PBuel
New Contributor I
83 Views

I have, but the problem is you can't just directly "exclude" using local.conf something included by dependency in Yocto. So, in this case, I'm asking to know if anyone can tell me which packages depend on openjdk to see if I can just take them all out. Excluding a package is easy, excluding one with a variety of dependencies is hard.

idata
Community Manager
83 Views

 

Hi PeteB,

Unfortunately Yocto issues are out of the scope of our support, I think that the Yocto community will be able to provide a better assistance.

Yocto community: https://www.yoctoproject.org/tools-resources/community https://www.yoctoproject.org/tools-resources/community .

Now, that said, I found this thread where a customer built an image without Java. If you read carefully throughout the thread, you will find that the recipe that the user configure was the icedtea7. I think that it might be worth the shot to remove this recipe and see if this deletes all the package dependencies on OpenJDK.

We will be waiting for your results, hope you have a nice day!

Best Regards,

 

-Jose P
PBuel
New Contributor I
83 Views

I would argue this isn't a yocto issue, it's an image issue. The image you provide requires Java out of the gate, which is nice, but not always necessary. It would be good to have a way to exclude those items which might pose a security or usage risk so users can build an image that suits the need. The referenced thread does seem to solve the issue, but is vague about it. I will work with that information to see if I can build it. In the meantime, I may just live with the system built, and disable services directly on the firmware to avoid running anything I don't need or want.

Anyway, I think I have enough now to do what I want to do. Thank you for the response.

Reply