Questions tagged [yocto-recipe]

213 questions
6
votes
1 answer

Yocto Kirkstone Beaglebone Black add custom devicetree

When I build a core-image using Yocto Kirkstone for machine beaglebone-yocto, I get a file /boot/extlinux/extlinux.conf. This file looks like: default Yocto label Yocto kernel /zImage fdtdir / append root=PARTUUID=f8fbccd5-02 rootwait…
Katu
  • 1,296
  • 1
  • 24
  • 38
5
votes
1 answer

Yocto: have a dependency to a receipe and a PACKAGECONFIG

Let’s say I have a recipe foo.bb containing: PACKAGECONFIG[option1] = "..." PACKAGECONFIG[option2] = "..." Now, I want to write a recipe for package bar. In order to run, bar requires package foo to be compiled with option option1 but not…
Stéphane Veyret
  • 1,791
  • 1
  • 8
  • 15
5
votes
2 answers

How to remove unneeded files after those are installed by Yocto?

I'm trying to create a recipe for a custom library in Yocto. I'm currently getting this error: ERROR: ... do_package: QA Issue: pot-plugin: Files/directories were installed but not shipped in any package: …
Luca Carlon
  • 9,546
  • 13
  • 59
  • 91
3
votes
0 answers

Generate executable a.out from cpp mentioned in .pro file in yocto build

I am using yocto build. I have .pro files and recipes(.bb) which build all cpp files present in .pro file. Recently I added two new cpp file i.e. gtest_main.cpp and lgeplugin_Test.cpp in .pro file. As show below lgeplugin.pro QMAKE_CXXFLAGS +=…
sonika
  • 31
  • 1
2
votes
1 answer

Overriding firmware installion recipe in Yocto

I am trying to reduce the amount of firmware that is included in a Yocto image to reduce its size. for example I have these i915/bxt_dmc_ver1_07.bin and i915/bxt_guc_ver9_29.bin, which are not needed. My Yocto project build platform has this recipe…
Andrew Ellis
  • 129
  • 2
  • 11
2
votes
3 answers

Restrict a library from going into final image

I am building a Yocto image. There are some GPLv3 libraries which are required only at build time. I have put GPLv3 as INCOMPATIBLE_LICENSE and whitelisted the libraries which are required at build time. But these libraries are getting into the…
Captain Levi
  • 55
  • 1
  • 8
2
votes
0 answers

Yocto: Add debug mode for a bsp recipe which is using a scc file

I need to add debug mode (enable/disable a few kernel config) to a kernel recipe. The recipe resides under recipes-kernel. We have this inside recipe linux-yocto-onl_5.10.bb: ... SRC_URI += "\ …
SAMPro
  • 1,068
  • 1
  • 15
  • 39
2
votes
0 answers

How to build Tensorflow Lite 1 on Yocto 2.4 Rocko on Quectel SC20

I use Quectel SC20 (Qualcomm MSM8909 SoC) with Yocto Rocko 2.4 and Bitbake 1.36 and try to install Tensorflow Lite v1.x on it. Unfortunately, the Yocto layer for TensorFlow Lite interpreter with Python / C++. does not support Rocko because it is…
Nam Vu
  • 5,669
  • 7
  • 58
  • 90
2
votes
2 answers

Yocto Recipe - Override python module version

I've created a layer to install some python modules, but some of them are already included in a third party layer I need (meta-openembedded). The version of python modules installed by the other layer is lower than that I need. I changed my layer…
RiccardoCh
  • 1,060
  • 1
  • 13
  • 24
2
votes
2 answers

How to Add Nodejs Packages to Yocto?

I would like to have an OS which support nodejs. In my yocto project at layer.conf file I add IMAGE_INSTALL_append = " nodejs" IMAGE_INSTALL_append = " nodejs-npm" which result in to have an OS with nodejs support afer bake. Now I want to add some…
sam
  • 1,363
  • 1
  • 20
  • 32
2
votes
0 answers

Yocto. How to mix old and new override syntax

We have Yocto recipe which we deliver to our customer. Customers use different versions of yocto and Linux Kernel. Is it possible to deliver one recipe for the old and new syntax? Or we should always deliver 2 version of recipes?
2
votes
1 answer

QA Issue: Package version for package went backwards which would break package feeds [version-going-backwards]

I'm trying to build a core-image-minimal image using an updated recipe of Yocto 3.1 (pytest from 5.x.x to 6.x.x) that has been successfully builded with devtool build. The work has been added to a custom layer with priority 6 but I'm unable to…
Antonio Santoro
  • 827
  • 1
  • 11
  • 29
2
votes
1 answer

Determine machine architecture reliably in a BitBake recipe

I am writing a recipe for a package which needs to be aware of the underlying machine's microarchitecture. In other words, I would like a string such as aarch64 or arm64 for a 64-bit Arm system, and x86_64 for a 64-bit Intel system. So far, I have…
1
vote
0 answers

Intermittent build failure where dwarfsrcfiles doesn't exist

We've been using Dunfell for a while but recently I've started getting an intermittent build failure from an app: ERROR: my-app-1.0.52-213f116 do_package: Fatal errors occurred in subprocesses: [Errno 2] No such file or directory: 'dwarfsrcfiles':…
parsley72
  • 8,449
  • 8
  • 65
  • 98
1
vote
1 answer

Remove packagegroup from image but keep one package of it which is an empty package

Hi all, I am new to Yocto and the BitBake eco system and currently facing an issue when trying to remove a packagegroup BUT at the same time KEEP one of its packages - which is an empty package. It goes like this: When building my image, the…
Guy Avraham
  • 3,482
  • 3
  • 38
  • 50
1
2 3
14 15