Questions tagged [openembedded]

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

514 questions
30
votes
3 answers

How to find which Yocto Project recipe populates a particular file on an image root filesystem

I work with the Yocto Project quite a bit and a common challenge is determining why (or from what recipe) a file has been included on the rootfs. This is something that can hopefully be derived from the build system's environment, log & meta data. …
shibley
  • 1,528
  • 1
  • 17
  • 23
25
votes
5 answers

Is it possible to pass in command line variables to a bitbake build?

I have an OpenEmbedded environment using bitbake to do some builds. I wanted to get something "interactive" going on where bitbake would pause and ask for input then continue with the build but I've found out that's not possible. Since I can't do…
Mike
  • 47,263
  • 29
  • 113
  • 177
21
votes
2 answers

Methods for speeding up build time in a project using bitbake?

I'm working in a project which has many bitbake recipes and takes a lot of time - up to 13 hours in some cases. I am new to bitbake and I'm asking for some way to: check what packages take more to build check very long dependencies (I have used…
Neaţu Ovidiu Gabriel
  • 833
  • 3
  • 10
  • 20
19
votes
2 answers

Docker image format

I would like to build a Docker image without docker itself. I have looked at [Packer](http://www.packer.io/docs/builders/docker.html, but it requires that Docker be installed on the builder host. I have looked at the Docker Registry API…
errordeveloper
  • 6,716
  • 6
  • 41
  • 54
19
votes
3 answers

Tracking variable assignments in bitbake

I'm using bitbake / openembedded, but my recipe fails because some path-variable ends up being not set correctly I think. Specifically i'm adding files to SRC_URI, but the error indicates the attempt to copy the file is done using the wrong path.…
S.C. Madsen
  • 5,100
  • 5
  • 32
  • 50
17
votes
2 answers

An example of using FILES_${PN}

I have a trouble of understanding the FILES_${PN} even after I have read the manual. For example, I was working on this example of making startup script. After I wrote something similar to, I got these error messages. ERROR: initscriptd-1.0-r0…
Yahia Farghaly
  • 857
  • 2
  • 10
  • 20
16
votes
1 answer

How does Shared State Cache in Yocto work?

Can any one explain to me more comprehensively how the sstate cache works in yocto? This explanation is far from clear. I don't understand when such situation occurs: NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Running setscene…
mastier
  • 872
  • 1
  • 10
  • 22
15
votes
2 answers

How to write a BitBake driver recipe which requires kernel source header files?

Introduction I have a do_install task in a BitBake recipe which I've written for a driver where I execute a custom install script. The task fails because the installation script cannot find kernel source header files within
karobar
  • 1,250
  • 8
  • 30
  • 61
14
votes
5 answers

How do I add more python modules to my yocto/openembedded project?

I wish to add more python modules to my yocto/openembedded project but I am unsure how to? I wish to add flask and its dependencies.
timelmg
  • 151
  • 1
  • 1
  • 3
14
votes
1 answer

Yocto using .bbappend file to override writing of default init scripts for initramfs

I am trying to write a .bbappend file that will append to the initramfs-live-boot_1.0.bb which has a statement inside the do_install() that writes the contents of init-live.sh, a shell script that manages the boot procedure, to init, an…
Shiri
  • 1,972
  • 7
  • 24
  • 46
14
votes
3 answers

Yocto Error: "non debug package contains .debug directory" with yocto recipe

I am trying to build a custom yocto recipe, which involves compiling a small C program. During the build - $ bitbake -f interface-configuration ... ERROR: QA Issue: non debug package contains .debug directory: interface-configuration path…
user1407764
  • 179
  • 1
  • 1
  • 8
13
votes
4 answers

Can someone point me toward a bitbake or openembedded tutorial?

I've been working with the Angstrom Linux distribution for the BeagleBoard. Can anyone point me to a tutorial or reference for how bitbake and OpenEmbedded actually work? For example, when I invoke bitbake like this: bitbake virtual/kernel what's…
Ted Middleton
  • 6,859
  • 10
  • 51
  • 71
12
votes
1 answer

Difference between Yocto Project and OpenEmbedded?

On Yocto Project FAQ: The Yocto Project and OpenEmbedded share a core collection of metadata called openembedded-core. However, the two organizations remain separate, each with its own focus. OpenEmbedded provides a comprehensive set of…
anat0lius
  • 2,145
  • 6
  • 33
  • 60
12
votes
1 answer

What is the job for oe_runmake in yocto?

I want to know about the oe_runmake in yocto.
yoctotutor.com
  • 5,145
  • 4
  • 26
  • 36
12
votes
1 answer

Request for clarification on Yocto inheritance

I've recently made a foray into building Linux-based embedded systems, a far cry from my usual embedded stuff where I have total control over everything. As part of that, I'm looking into the Yocto/bitbake/OpenEmbedded build system. There's one…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
1
2 3
34 35