Questions tagged [yocto-recipe]
213 questions
1
vote
0 answers
Using custom recipe to build linux kernel in yocto
I am trying to build a raspberrypi image in yocto, and it builds the linux kernel 5.15 just fine.
But I want to build kernel 6.1.21, so this is my directory structure:
sources/meta-raspberrypi/recipes-kernel/linux
+…

rosewater
- 604
- 2
- 8
- 22
1
vote
1 answer
compile golang package in yocto
I am trying to write a yocto recipe to compile https://github.com/bluenviron/mediamtx package, which is written on Golang. And no matter what, I can't get the package to build the binary. I have little to no experience with Go.
So far, I have…

Akkshay
- 35
- 6
1
vote
1 answer
install from yocto recipe not able to create init.d folder
In yocto tpm2 recipe the following recipe is not workin fine:
install -d "${D}${sysconfdir}/init.d"
It's not able to create a folder named init.d. If I change folder name to init_d it is able to create the folder.
It appears strange to me becuase…

Neeraj Usadadiya
- 11
- 5
1
vote
1 answer
GRPC helloworld example in yocto
I'm trying to port gRPC example cpp helloworld in yocto 2.2 (morty) for armv5e .Host system is ubuntu 18.04. I have written a recipe hello_1.4.3.bb.
DESCRIPTION = "Working example for grpc"
AUTHOR = "self"
LICENSE = "Apache-2.0"
HOMEPAGE =…

demzys
- 23
- 6
1
vote
0 answers
Yocto recipe is not installing files to the rootfs
I am creating linux image to run qt application on raspberry pi 3 using yocto. And I have used recipe to install the example app but bitbake doesn't install it to the rootfs.
So I was following some tutorial and the recipe I have used to compile and…

Mohammed Rashad
- 11
- 1
1
vote
0 answers
Yocto - use specific layer in recipe
I have two (almost identical 3rd party) layers, lets call them meta-version1 and meta-version2 and two recipes in my own layer, lets call them recipeA and recipeB.
Is it possible to specify in the recipes on which layer they depend so that inherit…

Faulek
- 47
- 1
- 6
1
vote
1 answer
Building Yocto image, DirectFB2 unable to find Fluxcomp-native both my own recipes
I am trying to build DirectFB2 for my yocto image to be deployed on a Raspberry Pi 0 W. In order to do so, I requre Fluxcomp. From the github page for fluxcomp: "flux is an interface description language used by DirectFB". This is a tool used when…

Michael Thompson
- 541
- 4
- 21
1
vote
1 answer
Yocto Fails to Cross-Compile GoLang Wails Application
I am using Yocto Kirkstone to build a system for an ARMv7 custom embedded Linux board. I have go-runtime version 1.20 in my Yocto meta layers.
I am trying to build a simple example GoLang 'wails' (https://github.com/wailsapp/wails) application that…

PhilBot
- 748
- 18
- 85
- 173
1
vote
1 answer
Adding protobuf in yocto recipe
How can we add protobuf specific version (say : 3.19.6) in the yocto recipe?
what are the things that we can add in the yocto recipe to install protobuf 3.19.6

S.Sathish Kumar
- 11
- 1
1
vote
1 answer
Bitbake not finding files specified in SRC_URI when changing directory name
I'm writing a recipe that copies some configuration files over to my image (like a cramfs.conf that goes into /etc/modprobe.d to disable cramfs). Here is the structure of my recipe directory:
.
├── compliance-config.bb
└── configs
└── fs
…

Brian
- 117
- 1
- 13
1
vote
2 answers
Why doesn't my recipe re-build successfully when I'm offline?
I have a recipe that looks basically like this :
SUMMARY = "SomeLibrary"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI +=…

Eternal
- 2,648
- 2
- 15
- 21
1
vote
1 answer
Appending/overriding .conf files in Yocto build system
I have a distro layer "meta-clayer" from a 3rd party which i do not want to edit.
Is there any method in yocto to append/overwrite some settings in distro.conf in "meta-clayer" by appending it from my custom created layer similar to bbappend…

akumar
- 39
- 7
1
vote
1 answer
How to get a shallow copy with SRC_URI?
I have a git repo with different sdk versions in a .zip format in a separate commits. That practically means that there is a whole files in git history and when you clone the repo you will get everything because diff between binary files are the…

User19818359
- 73
- 1
- 6
1
vote
1 answer
Bitbake wget: unable to resolve host address ‘www.nano-editor.org’
I'm new to bitbake and working on a tutorial. I know that bitbake often comes with Yocto project but here I'm trying to use it as a stand-alone tool.
The tutorial is connected with fetching a nano release(the text terminal editor) and building it.…

niksan
- 13
- 2
1
vote
0 answers
Yocto : How to make opkg aware of deletion of a file during pkg_postinst_ontarget_${PN}()
I have the following procedure to install a firmware on the target filesystem so this firmware can be flashed onto an external MCU :
SRC_URI = " \
file://${FIRMWARE_NAME} \
"
FILES_${PN} += " \
/home/root/${FIRMWARE_NAME} \
"
do_install()…

Carton_
- 23
- 3