Questions tagged [openembedded]

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

514 questions
4
votes
0 answers

How do I install initramfs in rootfs/boot?

I want to install an initramfs in the rootfs /boot (not the same as a wic boot partition). In rootfs /boot, there are a kernel image, and a fit image installed. I don't bundle the initramfs in the kernel, but put it in the fit image, but this fit…
Sam Liddicott
  • 1,265
  • 12
  • 24
4
votes
1 answer

How to add ldd utility to bitbake image

I need ldd utility in my final image of yocto. When I needed usbutils before, I went ahead and added the line in ../build/conf/local.conf file CORE_IMAGE_EXTRA_INSTALL += "usbutils" After searching around I came to see that ldd is part of the…
o4385630
  • 43
  • 1
  • 5
4
votes
1 answer

function in recipe not overridden

I want to override a function in a recipe (bb) that inherits from a bbclass, but it doesn't work -- the function from the bbclass (superclass) is executed instead of the new one. Here is an minimal (non-)working example. Class: #…
Ulukai
  • 183
  • 11
4
votes
1 answer

Yocto Jethro: how do I add user to sudoers list

I added a new user as follows inherit extrausers EXTRA_USERS_PARAMS = "useradd -P p@ssW0rd user1;" I am trying to find how to add users to sudoers list. Is there a class like extrausers Update-1: In class classes/extrausers.bbclass I see usermod…
sob
  • 982
  • 11
  • 31
4
votes
1 answer

use pip install command in recipes Yocto Project

I need to use an existing library on this site https://pypi.python.org/pypi/SpeechRecognition/ library present format compressed SpeechRecognition-3.4.3.tar.gz can I use pip install SpeechRecognition in overrider functions like do_fetch ,…
Mohamed Okasha
  • 129
  • 1
  • 2
  • 12
4
votes
1 answer

With Yocto, how can I add a lot of files to an image?

How can I add a lot of files to an image with a BitBake recipe? The pattern that I follow to add files to an image is the following: SRC_URI += "file://bar" do_install () { install -m 0775 ${S}/bar/baz/foo.txt ${D}${prefix}/test…
karobar
  • 1,250
  • 8
  • 30
  • 61
4
votes
2 answers

How should I sed files on the Yocto-generated rootfs?

I would like to find a way to run sed scripts on files within a Yocto-generated OS from a .bbappend file. My OS has a read-only rootfs, which seems to stop any possibility of a post-installation script. Specifically, I need to make these changes to…
karobar
  • 1,250
  • 8
  • 30
  • 61
4
votes
4 answers

Debugging bitbake pkg_postinst_${PN}: Append to config-file installed by other recipe

I'm writing am openembedded/bitbake recipe for openembedded-classic. My recipe RDEPENDS on keyutils, and everything seems to work, except one thing: I want to append a single line to the /etc/request-key.conf file installed by the keyutils package.…
S.C. Madsen
  • 5,100
  • 5
  • 32
  • 50
4
votes
1 answer

bitbake doesn't find newer recipe

I am attempting to include upgraded autotools from the current yocto version in my existing OE environment without upgrading all of my existing packages, so I added yocto as a layer in my conf file: BBLAYERS += " \ ... …
Brad
  • 3,190
  • 1
  • 22
  • 36
4
votes
2 answers

Yocto menuconfig not working

For some reason the menuconfig menu does not come up when I try launching it from my Yocto installation. I am using the Toradex Yocto 1.6 system as is described here…
Gerharddc
  • 3,921
  • 8
  • 45
  • 83
4
votes
2 answers

Bitbake not finding recipes

I'm running bitbake inside of the openembedded environment, and I think it's missing 99% of my recipe files. I've edited the local.conf file in my conf directory, and it has the line: BBFILES :=…
Maxwell Bottiger
  • 411
  • 1
  • 4
  • 18
4
votes
1 answer

Building python packages

I am bitbaking a couple of python libraries and got this warning while adding second one of them: WARNING: The recipe is trying to install files into a shared area when those files already exist. Those files are: …
errordeveloper
  • 6,716
  • 6
  • 41
  • 54
4
votes
2 answers

How would I pass a variable from a bitbake recipe to a makefile?

I'm trying to pass a variable from my bitbake (.bb) recipe to a Makefile that I have it calling. In my recipe I have: export FOO="bar" When it runs the do_compile() method I have it calling a Makefile I generated. In the Makefile I tested the…
Mike
  • 47,263
  • 29
  • 113
  • 177
3
votes
0 answers

Default Qemu settings for runqemu command

Is it possible to set default Qemu settings (like cpu, memory, etc) that can be used by runqemu script? I know that there is a runtime parameter qemuparams=, but it has to be explicitly provided each time. I am looking for a permanent setting…
Piotr Surma
  • 304
  • 1
  • 5
  • 12
3
votes
0 answers

Why is package included in Yocto rootfs?

I'm in the process of upgrading from Yocto Sumo to Yocto Dunfell. In this process there's quite a few packages getting added to the rootfs that wasn't there before and which I don't have use for. I would like to know why they are added? Which…
m__
  • 1,721
  • 1
  • 17
  • 30