Questions tagged [yocto-recipe]
213 questions
0
votes
0 answers
Need help understand a yocto error for a new recipe
i am new to Yocto and trying to write a new recipe. i wrote a new recipe myrecipe_git.bb, and not able to understand what i might be doing wrong here. The error logs are
[buildfarm-ssh] NOTE: Running task 7614 of 12909…

bourne
- 1,083
- 4
- 14
- 27
0
votes
0 answers
i2c-tools does not appear to be installed after adding it in local.conf
I am new to YOCTO and am trying to install the i2c-tools in an image for the Raspberry Pi 3, but I don't seem to be able to get it working.
I put CORE_IMAGE_EXTRA_INSTALL += " i2c-tools" in the local.conf file and then build the image with bitbake…

Alejandro Hontanilla
- 11
- 1
0
votes
0 answers
What is the error "msgfmt: cannot locate ITS rules for data/org.freedesktop.NetworkManager.policy.in" while building yocto wpa repo
I am trying to build the meta layer https://github.com/LairdCP/meta-laird-cp
I am using the layer meta-summit-radio-pre-3.4/ for my build. Most of the components build with the exception of 'summit-networkmanager-lwb'. This component creates the…

preetam
- 1,451
- 1
- 17
- 43
0
votes
0 answers
What is SRCREV_machine and SRCREV_meta in yocto kernel recipes
Why doesn't the kernel recipe simply use SRCREV="${AUTOINC}" or hash.
I find these lines instead.
https://github.com/agherzan/meta-raspberrypi/blob/master/recipes-kernel/linux/linux-raspberrypi_6.1.bb
SRCREV_machine =…

preetam
- 1,451
- 1
- 17
- 43
0
votes
0 answers
Where is the define for the defconfig file to use in a yocto kernel recipie?
How does a yocto bsp layer choose the defconfig?
Even in the examples or the documentation, the flow is not clear and I have no variable to actually change the defconfig file.
Nowhere in the linux recipe do I find the mention of the file defconfig…

preetam
- 1,451
- 1
- 17
- 43
0
votes
1 answer
Yocto how do you add meta-networking layer to your config?
I am trying to look at the https://layers.openembedded.org/layerindex/branch/dunfell/layers/ and add dhcp and dnsmasq to my image.
My local.conf has the following line:
CORE_IMAGE_EXTRA_INSTALL_append = " dhcpcd dnsmasq openssh iptables"
However,…

preetam
- 1,451
- 1
- 17
- 43
0
votes
1 answer
How can I override a statement in a BSP layer yocto recipe?
I'm building yocto for a Variscite board, using their BSP. I'm building core-image-minimal. The system is not building with systemd-networkd, and I am trying to add it.
The Variscite layer has the recipe…

xAptive
- 26
- 4
0
votes
0 answers
pkg_postinst_ontarget_${PN} in custom recipe does not execute
No matter what I do, I cannot get a postinst script to execute. I have a foobar-image.bb with:
require recipes-core/images/core-image-base.bb
# Add foobar-tools
IMAGE_INSTALL_append += "\
foobar-tools \
"
pkg_postinst_ontarget_${PN} () {
…

Daniel
- 1
- 1
0
votes
0 answers
how to install "bsdtar" instead of busybox "tar" in yocto build
I need bsdtar, bsdcpio binaries provided by libarchive package to be installed in the rootfs instead of busybox-tar and busybox-cpio.
Tried changing the ALTERNATIVE_PRIORITY = "10" in the libarchive bb file but that doesn't install bsdtar in the…

Aspire
- 921
- 1
- 7
- 15
0
votes
1 answer
Error: Unable to find a match: newuser. When using running core-image-base
I am trying to add a recipe that creates a user and a directory and changes its ownership to it.
Note, I'm using kirkstone
Here's my newuser_1.0.bb recipe
SUMMARY = "Example recipe for using inherit useradd"
DESCRIPTION = "This recipe serves as an…

Rechem MEG
- 311
- 1
- 10
0
votes
0 answers
Yocto reciepe to Jail a ssh user to a particular directory
I am learning yocto , writing a recipe to jail/restrict a SSH user to a particular directory. For example I have created a user in machine.conf file
EXTRA_USERS_PARAMS = " useradd -P linuxopsys linuxopsys"
My yocto recipe is
LICENSE =…

karkator
- 51
- 1
- 10
0
votes
0 answers
Inquiry about NanoMQ Availability in Yocto Recipe
I hope this message finds you well. I am reaching out to inquire about the availability of NanoMQ in the Yocto recipe.
As part of our project requirements, we are interested in utilizing NanoMQ within our Yocto-based system. However, before…
0
votes
0 answers
Can not update version number in sw-description (swupdate) file using BitBake variable expansion
I am trying to use BitBake variable expansion (e.g., using @@VARIABLE@@) to update version numbers of several components in sw-description file. Here is example of my sw-description file:
software =
{
version = "@@DISTRO_VERSION@@";
…

22332112
- 2,337
- 5
- 21
- 42
0
votes
0 answers
What is the command format for bitbake recipietool that uses github with ssh access?
I have tried all kinds of URL formats with recipetool but nothing seems to work with my github url.
URL to use : git@github.com//repo1.git
recipetool create git@github.com:/repo1.git
I keep getting error as follows:
NOTE:…

preetam
- 1,451
- 1
- 17
- 43
0
votes
0 answers
Add codec DA7213 to Yocto image
I am new to yocto, and i'd like to add the support of the DA7213 codec.
I went ahead and activated it in menuconfig using bitbake -c menuconfig virtual/kernel
But after building bitbake fsl-image-gui and flashing the built image, i cannot seem to…

B.Adlane
- 13
- 4