Questions tagged [bitbake]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Yocto, bitbake - how to remove unwanted hunks in the patch file

I am trying to bitbake system for seedStudio odyssey board. I got into problems applying patches CmdError('quilt --quiltrc /home/seed-studio/STM/Distribution-Package/build-openstlinuxweston-stm32mp1/...
gulpr's user avatar
  • 101
0 votes
0 answers
52 views

How do I remove ntpd from the final image with my own recipe?

I want to get rid of all ntpd related stuff from my yocto linux image. Currently I include the meta-openembedded layer, which is responsible that the NTP service ntpd is installed on my final image. ...
schande's user avatar
  • 115
1 vote
0 answers
81 views

How can daemons source environment variables on a machine without persistent storage

I'm working on a Yocto Project build of an AARCH64 system, where I need the monit daemon (or at least a process started by monit) to access an environment variable I'm setting. It's my understanding ...
Patrick M's user avatar
1 vote
1 answer
295 views

"-dev package mylib-dev contains non-symlink" error when building lib using Yocto bitbake

I am trying to build Linux distribution using Yocto project, the target board is STM32MP157A-DK1 board ,I am using distribution package and meta data delivered by STMicroelectronics for OpenSTLinux. I ...
Hossam Alzomor's user avatar
0 votes
0 answers
350 views

How to modify timesyncd.conf in a yocto recipe

I have a yocto build and now I am trying to write a recipe in which I can adjust the parameters in the configuration file under /etc/systemd/timesyncd.conf. Responsible for the file is probably the ...
schande's user avatar
  • 115
1 vote
1 answer
603 views

How do I edit '/etc/ld.so.conf' in a yocto recipe?

As suggested by Zac Anger, i copy this question over here: I have a yocto recipe in which I copy/install some stuff to an image. After that, I want to add a line to the /etc/ld.so.conf file like this, ...
schande's user avatar
  • 115
0 votes
1 answer
196 views

Get bitbake to use a different locale

I'm running through the Yocto Quick Build tutorial, and I've got to the command bitbake core-image-sato This is producing the error Your system need to support the en_US.UTF-8 locale. Can I change ...
Matt Ellen's user avatar
0 votes
0 answers
453 views

Creating a separate image for boot partition in Yocto

I have a Yocto Linux image with two partitions: boot and rootfs. I would like to create two separate images: one with rootfs and the second one with bootstrap and u-boot files. I have two questions ...
user1111's user avatar
1 vote
0 answers
2k views

Compiling CFLAGS in a Yocto Recipe File

Issue: I have 2 macros I added in a c file and I have 2 machines. Using Yocto recipe I wish to build the code with specific macros for specific machines. Breaking down the issue in sub parts - hello.c ...
Nathan's user avatar
  • 21
1 vote
1 answer
167 views

Reusing source files between machines in bitbake

My goal is to share source files between some machines, but not all. In this example, machine_a and machine_b have source directories that are exact copies of each other an I'd like to combine them ...
andrey's user avatar
  • 61
0 votes
2 answers
2k views

Problems running bitbake on Kirkstone

So I was able to set up Poky Honister and get that working a while back but I'd like to move to Kirkstone for a variety of reasons. I keep getting the following errors and I have no idea whats going ...
HelloWorld's user avatar
0 votes
1 answer
818 views

what happens when shell script is built in bitbake

I am just tying to understand the bitbake build system. I have a doubt regarding how shell functions/task gets executed. I am going through below documentation https://docs.yoctoproject.org/bitbake/ ...
jeyshree's user avatar
1 vote
0 answers
461 views

understanding datastore in bitbake [closed]

I am new to bitbake. I am going through the user manual for learning and I got a doubt in the section quoted below 3.5.3. Passing Information Into the Build Task Environment When running a task, ...
jeyshree's user avatar
0 votes
1 answer
551 views

Bitbake Congatec Yocto - hangs in step: parsing recipes. git ls-remote http://<user>:<key>@host/project hangs

Everything worked before. But at one point everything got stuck at the step of parsing recipes. How can i fix it? ./clear_mntconti_cpp.sh source /opt/yocto/.yocto_build.rocko/poky/oe-init-build-env /...
GendOS's user avatar
  • 11
0 votes
1 answer
249 views

yocto: psplash custom executables do not get installed

Depending on the detected hardware I need to start one of two executables of psplash with different images, so in my psplash_%.bbappend I have SPLASH_IMAGES = "file://bootscreen1.png;outsuffix=...
Philippos's user avatar
  • 13.4k
1 vote
0 answers
1k views

How to start using google tests on a Yocto(Open Embedded) System

I'm doing a project for ARM64 devices and am using Linux Embedded as the OS. I am trying to using Google Tests but when running bitbake, it is failing. Heres the error: | CMake Error at /#####/tmp-...
Md. Mohsin Hussain's user avatar
1 vote
2 answers
3k views

Yocto - patch has not been applied

I am working with Linux built with Yocto. I need to add some changes to /etc/ssh/sshd_config file. I created the following patch file using meld: --- a/sshd_config +++ b/sshd_config @@ -116,3 +116,8 @@...
tomi7654's user avatar
0 votes
1 answer
231 views

Call variable from within udev rule

I have multiple udev rules that check if ATTRS{name}=="abc123" and invokes various functions if that device is present. These udev rules are located within multiple locations as this is ...
etfreima's user avatar
6 votes
1 answer
1k views

What is the right way to store BitBake configuration under git?

What is correct way to keep track of bitbake configuration and used layers in git?
senx's user avatar
  • 171
0 votes
1 answer
260 views

Where can I get a tarball of the debian package manager for aarch64?

I want to install a package manager on an embedded system that does not currently have one. I know that the best way to do this is to use bitbake to simply bake a new image which includes a package ...
Alex Ryan's user avatar
  • 336
3 votes
0 answers
1k views

systemd service will not start automatically at boot-up

I've been struggling to solve this for 2 or 3 days now. I am using Yocto to customize a Linux build. I have a systemd service called app2.service as below. [Unit] Description=app2 ...
Engineer999's user avatar
  • 1,131
1 vote
0 answers
980 views

Yocto adding multiple system services to recipe file

I am modifying a Yocto .bb recipe file to add and enable 3 systemd services in my image. Below shows the bottom of my recipe file with just two services added and enabled. This works! app1.service is ...
Engineer999's user avatar
  • 1,131
3 votes
1 answer
1k views

Adding iptables to yocto causes image do_rootfs to fail

My image builds nicely with kernel 4.13 (set in local.conf) and all of my recipes. When I try to add the iptables recipe (v1.6) to my image, the do_rootfs task fails with the following error: ERROR: ...
bam's user avatar
  • 123
8 votes
2 answers
14k views

Meaning of ?= and ??= in bitbake/yocto

What does the different assignment types mean in bitbake recipe scripts, such as: BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}" PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" MACHINE ??= "...
Frankie_Fomalhaut's user avatar