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

Iorga, Cristian cristian.iorga at intel.com
Tue Nov 25 03:55:59 PST 2014


Hi,
Nishanth, I am assuming you are using the meta-java layer, right?
If so, have you tried my suggestions?
/Cristian


-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Paul Eggleton
Sent: Tuesday, November 25, 2014 1:20 PM
To: Nishanth S
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] [bitbake-devel] how to update a package on yocto project

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
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list