05-05-2020 09:37 AM
I am following the petalinux flow using petalinux ver 2019.1.
Currently this release is packed with VLC version 2.2.2 from meta-openembedded thud branch.
I need to update VLC to 3.x version. I tried cloning the warrior branch for this specific recipe but the tools didn't let me add this user layer as it is not compatible with thud.
How can I update VLC from another recipe?
08-03-2020 07:24 AM
I had a similar issue with Gunicorn, Petalinux includes version 19.1.1, which is 6 years old and only used for python2. What I had to do was to create a valid recipe and then place it in meta-user layer (./project/spec/meta-user/recipes-apps) and then in the layer.conf of the meta-user layer I added the PREFFERED_VERSION for my gunicorn recipe.
Your meta-user layer should look something like this:
│ ├── layer.conf
│ ├── petalinuxbsp.conf
│ └── user-rootfsconfig
and layer.conf should have a line similar to:
PREFERRED_VERSION_vlc = "<version>"
08-07-2020 06:17 AM
08-07-2020 07:48 AM
All of those files, except the vlc bitbake recipe, are auto generated by the petalinux project. I can't tell you what would go in the vlc bitbake recipe because I never made one (If you read my previous post, I made a recipe to include a new version of gunicorn, not vlc). If I were to make a recipe for vlc, I would start by looking at an existing bitbake recipe for vlc:
Other than that you need to add a line to the layer.conf as called out in my previous post.
11-25-2020 04:16 PM
It looks ok to me. I would try cleaning your build and rebuilding. From there I would try explicitly putting the chrony subfolder into the chrony bitbake script.