[yocto] [bitbake-devel] how to update a package on yocto project

Paul Eggleton paul.eggleton at linux.intel.com
Tue Nov 25 03:20:20 PST 2014


Hi Nishanth,

On Monday 24 November 2014 11:34:17 Nishanth S wrote:
> board : Intel Galileo Gen 1
> 
> I use yocto project for build image/tarball for the board.
> 
> How to update a existing package???
> 
> I mean, I use openjdk-6 on my board.
> 
> But I need to change it to openjdk-7.
> 
> I edited local.conf by adding following line.
> 
> preferred_version_openjdkXXXX = XXXX
> 
> 
> 
> 
> I tried this but the resulting image.tar had only openjdk-6.
> 
> How do I include openjdk-7 with core-image???

There needs to be a recipe to actually provide that - PREFERRED_VERSION only 
selects between available versioned recipes. Is there an openjdk-7 recipe in 
your configuration? If not, you will need to add one.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list