Re: [yocto] upgrading packages in yocto

2018-10-01 Thread Guilhem Marion

Hello,


On 01/10/2018 08:21, Pandey, Kamal wrote:

I want to upgrade some packages of poky/meta/recipes-graphics/ like 
weston_2.0.0.bb to weston_4.0.0.bb. Also I don't want any changes to be made in 
poky/meta layer. What is the best way of doing these kinds of upgradations. I 
think bbappend here will create problems as the SRC_URI and other variables use 
the PV from recipe name to fulfil some operations.
The other thing I can do is create a weston_4.0.0.bb file in my own custom 
layer and work but then I don't know how to disable the older(original) 
weston_2.0.0.bb file.
What will be the best method to upgrade packages. One thing to remind you that 
the SRC_URI is not a repository , it's a tarball repo. So I directly can't 
replace the SRC_URI in .bbappend file.
Any leads regarding this will be appreciated.
You should look at layer priorities: 
https://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#var-BBFILE_PRIORITY


If you can set your layer to take precedence (higher priority) over 
poky/meta, your weston_4.0.0.bb will be picked over poky/meta's


-Original Message-
From: yocto-boun...@yoctoproject.org  On Behalf 
Of yocto-requ...@yoctoproject.org
Sent: 30 September 2018 00:30
To: yocto@yoctoproject.org
Subject: yocto Digest, Vol 96, Issue 79

Send yocto mailing list submissions to
yocto@yoctoproject.org

To subscribe or unsubscribe via the World Wide Web, visit

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto=DwICAg=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0=B4t2KSJ3IM1b9sK9gvCmTFe5JX-rxgD15fYh5lG11MM=Zi9dlMz5JoZfKdwcbr7eV_JK7qB8SJTPYP9LdRWnlG8=RQp-3-7SeXpR_ysQqD1qg5XYb2ycNNJlz5k63RsTovE=
or, via email, send a message with subject or body 'help' to
yocto-requ...@yoctoproject.org

You can reach the person managing the list at
yocto-ow...@yoctoproject.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of yocto digest..."


Hope this helped,
Cheers,

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


Re: [yocto] upgrading packages in yocto

2018-10-01 Thread Nicolas Dechesne
On Mon, Oct 1, 2018 at 8:22 AM Pandey, Kamal  wrote:
>
> I want to upgrade some packages of poky/meta/recipes-graphics/ like 
> weston_2.0.0.bb to weston_4.0.0.bb. Also I don't want any changes to be made 
> in poky/meta layer. What is the best way of doing these kinds of 
> upgradations. I think bbappend here will create problems as the SRC_URI and 
> other variables use the PV from recipe name to fulfil some operations.
> The other thing I can do is create a weston_4.0.0.bb file in my own custom 
> layer and work but then I don't know how to disable the older(original) 
> weston_2.0.0.bb file.
> What will be the best method to upgrade packages. One thing to remind you 
> that the SRC_URI is not a repository , it's a tarball repo. So I directly 
> can't replace the SRC_URI in .bbappend file.
> Any leads regarding this will be appreciated.

You should get a new custom layer that holds the 4.0 recipe. It is a
bad idea to use a .bbappend since you are changing the version ($PV).
Note that upgrading one recipe might require that you update some
dependencies as well. You don't need to 'disable' the old recipe, it
will be overlaid anyways.

To give you an idea, this is how we manage 'backports' for our builds:
https://git.linaro.org/openembedded/meta-backports.git

>
> -Original Message-
> From: yocto-boun...@yoctoproject.org  On 
> Behalf Of yocto-requ...@yoctoproject.org
> Sent: 30 September 2018 00:30
> To: yocto@yoctoproject.org
> Subject: yocto Digest, Vol 96, Issue 79
>
> Send yocto mailing list submissions to
> yocto@yoctoproject.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto=DwICAg=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0=B4t2KSJ3IM1b9sK9gvCmTFe5JX-rxgD15fYh5lG11MM=Zi9dlMz5JoZfKdwcbr7eV_JK7qB8SJTPYP9LdRWnlG8=RQp-3-7SeXpR_ysQqD1qg5XYb2ycNNJlz5k63RsTovE=
> or, via email, send a message with subject or body 'help' to
> yocto-requ...@yoctoproject.org
>
> You can reach the person managing the list at
> yocto-ow...@yoctoproject.org
>
> When replying, please edit your Subject line so it is more specific than "Re: 
> Contents of yocto digest..."
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] upgrading packages in yocto

2018-10-01 Thread Pandey, Kamal
I want to upgrade some packages of poky/meta/recipes-graphics/ like 
weston_2.0.0.bb to weston_4.0.0.bb. Also I don't want any changes to be made in 
poky/meta layer. What is the best way of doing these kinds of upgradations. I 
think bbappend here will create problems as the SRC_URI and other variables use 
the PV from recipe name to fulfil some operations.
The other thing I can do is create a weston_4.0.0.bb file in my own custom 
layer and work but then I don't know how to disable the older(original) 
weston_2.0.0.bb file.
What will be the best method to upgrade packages. One thing to remind you that 
the SRC_URI is not a repository , it's a tarball repo. So I directly can't 
replace the SRC_URI in .bbappend file.
Any leads regarding this will be appreciated.

-Original Message-
From: yocto-boun...@yoctoproject.org  On Behalf 
Of yocto-requ...@yoctoproject.org
Sent: 30 September 2018 00:30
To: yocto@yoctoproject.org
Subject: yocto Digest, Vol 96, Issue 79

Send yocto mailing list submissions to
yocto@yoctoproject.org

To subscribe or unsubscribe via the World Wide Web, visit

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto=DwICAg=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0=B4t2KSJ3IM1b9sK9gvCmTFe5JX-rxgD15fYh5lG11MM=Zi9dlMz5JoZfKdwcbr7eV_JK7qB8SJTPYP9LdRWnlG8=RQp-3-7SeXpR_ysQqD1qg5XYb2ycNNJlz5k63RsTovE=
or, via email, send a message with subject or body 'help' to
yocto-requ...@yoctoproject.org

You can reach the person managing the list at
yocto-ow...@yoctoproject.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of yocto digest..."

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