Questions tagged [openembedded]

OpenEmbedded is a software framework to create Linux distributions aimed for, but not restricted to, embedded devices.

514 questions
7
votes
2 answers

How do I extend someone else's repo manifest?

In my project, I want to take an existing Yocto setup for the Automotive Grade Linux distribution and add some layers with recipes for our own components. There exists a manifest file, publicly available, on their gerrit site. What I'd like to do…
kdopen
  • 8,032
  • 7
  • 44
  • 52
7
votes
1 answer

yocto: how to install command locale & localedef?

How to install command locale & localedef for my image in the yocto project? I have try the following: IMAGE_INSTALL_append = " glibc-locale" But it does not work. How can I do it?
dudengke
  • 489
  • 2
  • 6
  • 18
7
votes
1 answer

What are the differences between Open Embedded Core and meta-openembedded

Until now, I am still really confused between the recipes in Openembedded-core vs the one in meta-openembedded. And many time, have trouble to put the recipes in the right directory. They are really similar yet seem to be so different in the…
Charles C.
  • 3,725
  • 4
  • 28
  • 50
7
votes
3 answers

How to create do_populate_sysroot_append task in yocto

How could we add some additional kernel files to sysroot directory? I want to extend do_populate_sysroot task, how can we to copy few more files into sysroot after do_populate_sysroot and before do_package? I tried to create…
Vivek
  • 181
  • 3
  • 10
6
votes
2 answers

Differences between openembedded-core and poky

We want to build a embedded Linux device using Yocto which is SELinux Enabled. I was looking at meta-selinux layer Dependencies. Dependencies This layer depends on the openembedded-core metadata and the meta-python and meta-oe layers from the…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
6
votes
2 answers

Using PREMIRRORS in Bitbake configuration

How do I use PREMIRRORS in Bitbake local configurations or recipes? I want to provide my own download locations for some slow or inaccessible third-party URLs, but the official PREMIRRORS documentation is vague and lacks examples.
Darien
  • 3,482
  • 19
  • 35
6
votes
5 answers

Post-install script on Yocto-built linux

I need to run a script on a target OS built by Yocto. This script needs to be ran as part of the install and thus must be ran only once (either after the entire OS install or on the first boot). It cannot be ran on the host system, as it depends on…
Igor
  • 329
  • 1
  • 3
  • 10
6
votes
3 answers

Yocto Bitbake - Git Fetch always stuck

I am using YOCTO to build an image but the Bitbake process always get stuck at any task including fetch from git Ex: Currently 2 running tasks (1373 of 2477): 0: rpi-mkimage-native-git-r0 do_fetch (pid 2372) 1:…
iwahdan
  • 429
  • 1
  • 5
  • 14
6
votes
4 answers

Bitbake error - Nothing RPROVIDES

I would to split and application into multiple packages. Basically I just would like to add an other one which could be build by using a specific image. Inside the .bb file associated to the application I added : SRC_URI = " \ ... …
ogs
  • 1,139
  • 8
  • 19
  • 42
6
votes
1 answer

Run a command in bitbake recipe as if on live system

Is it possible to run a command in a recipe as if it were run on the live system? If so, how? I want to import my key(s) into gpg before the image is created so I don't have to log onto the system after formatting the SD card.
E-rich
  • 9,243
  • 11
  • 48
  • 79
6
votes
1 answer

What are the differences between Yocto Poky and Texas Instruments Arago?

I am very new to this field so my terminology may be incorrect. My goal is to build a custom linux distribution for an embedded device equipped with Texas Instruments AM335x ARM processor. I played a little with Yocto 1.6.1 (Daisy release), bitbake…
Alessandro Da Rugna
  • 4,571
  • 20
  • 40
  • 64
6
votes
2 answers

How does bitbake dependency work for source code?

I am a beginner in the ways of the "bitbake" and i wonder what happens in the following situations, when building a project with several thousand packages: You bitbake the full image (all packages) and it finishes successfully. You make a change to…
6
votes
1 answer

What is the meaning of '__anonymous' function in a yocto/bitbake recipe?

In a yocto project, the core-image.bbclass contains the following code. python __anonymous() { ................ ................ } What is the meaning of the __anonymous function here?
Pala
  • 2,011
  • 3
  • 15
  • 17
6
votes
2 answers

Only one --hash-style in embedded Linux. Why?

I am trying to get a software package built and deployed into rootfs with OpenEmbedded-based Arago. Unfortunately the software package includes prebuilt shared libs. As far as I understand, Arago builds the entire Linux distro with --hash-style=gnu,…
Igor S.K.
  • 999
  • 6
  • 17
5
votes
0 answers

yocto - User-Agent: falling back to 'libdnf': could not detect OS or basearch

I am using Yocto (Hardknott) to build an image and to create the package-feed(rpm packages). One of the image dependencies is u-boot-karo (it's a custom u-boot for karo modules) and it seems this recipe has some issue with the libdnf. Could anyone…
A.A.
  • 125
  • 1
  • 11
1 2
3
34 35