upgrading packages in yocto
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: [email protected] <[email protected]> On Behalf Of [email protected]
Sent: 30 September 2018 00:30
To: [email protected]
Subject: yocto Digest, Vol 96, Issue 79
Send yocto mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..."
Hello,
Quoted 4 lines · 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_URIand 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 theSRC_URIis not a repository , it's a tarball repo. So I directly can't replace theSRC_URIin .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
Quoted 11 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of [email protected]
Sent: 30 September 2018 00:30
To: [email protected]
Subject: yocto Digest, Vol 96, Issue 79Send yocto mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
Quoted 9 lines
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
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..."
Hope this helped,
Cheers,
Guilhem
Quoted 5 lines · 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_URIand 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 theSRC_URIis not a repository , it's a tarball repo. So I directly can't replace theSRC_URIin .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
Quoted 25 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of [email protected]
Sent: 30 September 2018 00:30
To: [email protected]
Subject: yocto Digest, Vol 96, Issue 79Send yocto mailing list submissions to
[email protected]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
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..."
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto