[yocto] upgrading packages in yocto

Guilhem Marion guilhem.marion at smile.fr
Mon Oct 1 00:18:04 PDT 2018


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-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> On Behalf Of yocto-request at yoctoproject.org
> Sent: 30 September 2018 00:30
> To: yocto at yoctoproject.org
> Subject: yocto Digest, Vol 96, Issue 79
>
> Send yocto mailing list submissions to
> 	yocto at 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&d=DwICAg&c=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0&r=B4t2KSJ3IM1b9sK9gvCmTFe5JX-rxgD15fYh5lG11MM&m=Zi9dlMz5JoZfKdwcbr7eV_JK7qB8SJTPYP9LdRWnlG8&s=RQp-3-7SeXpR_ysQqD1qg5XYb2ycNNJlz5k63RsTovE&e=
> or, via email, send a message with subject or body 'help' to
> 	yocto-request at yoctoproject.org
>
> You can reach the person managing the list at
> 	yocto-owner at 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


More information about the yocto mailing list