bluez-alsa | Bluetooth Audio ALSA Backend | Audio Utils library
kandi X-RAY | bluez-alsa Summary
kandi X-RAY | bluez-alsa Summary
Bluetooth Audio ALSA Backend
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of bluez-alsa
bluez-alsa Key Features
bluez-alsa Examples and Code Snippets
Community Discussions
Trending Discussions on bluez-alsa
QUESTION
I am new to Yocto
, I built core-image-sato
for default machine (x86-qemu). I have below questions with adding recipe:
- I want to add bluez-alsa in the build. I checked http://layers.openembedded.org/layerindex/branch/master/recipes/ and got the bb file (bluez-alsa_git.bb). For adding it, i created a directory (bluez-alsa) and created a bluez-alsa_git.bb file in it. Is this right method to add a new package?
- Now after adding the bluez-alsa (as specified in step-1 above), I am building core-image-sato which is failing, because of dependency in systemd module (I see from bb file dependency in systemd module). Below is the error:
ERROR: Nothing PROVIDES 'systemd' (but /home/srawat/tree/yocto/yocto_x86/poky/meta/recipes-connectivity/bluez-alsa/bluez-alsa.bb DEPENDS on or otherwise requires it)
systemd was skipped: missing required distro feature 'systemd' (not in DISTRO_FEATURES)
ERROR: Required build target 'bluez-alsa' has no buildable providers. Missing or unbuildable dependency chain was: ['bluez-alsa', 'systemd']
#
What is the method to include "systemd" module now? Or
IOW in general, how to include dependent packages (talking about existing packages of layers.openembedded.org, no new packages) in image?
Further i have more existing packages to add, will use the suggested method to add them.
advance thanks
...ANSWER
Answered 2019-Dec-16 at 06:04Its best to include the layer which provides the recipe, this might help in bringing in needed direct and indirect dependencies as well as you also saw the missing dependency problem, however there is another side of the story, where the source layer might have further dependencies on other layers which might be too much of an ask for what one needs for adding a single recipe.
so in your case cherry-picking recipe seems to be a better approach since the source layer has quite a few deps plus this given recipe only has dependencies on core layer.
however the problem you have is that your distro policies do not use systemd but this recipe assumes systemd is enabled. so you have two ways
Enable systemd distro-wide by adding something like below to local.conf
DISTRO_FEATURES_append = " systemd" VIRTUAL-RUNTIME_init_manager = "systemd" DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" VIRTUAL-RUNTIME_initscripts = ""
Remove need for systemd from the recipe
change
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bluez-alsa
alsa-lib
bluez >= 5.0
glib with GIO support
sbc
docutils (when man pages build is enabled with --enable-manpages)
fdk-aac (when AAC support is enabled with --enable-aac)
lc3plus (when LC3plus support is enabled with --enable-lc3plus)
libldac (when LDAC support is enabled with --enable-ldac)
libopenaptx (when apt-X support is enabled and --with-libopenaptx is used)
mp3lame (when MP3 support is enabled with --enable-mp3lame)
mpg123 (when MPEG decoding support is enabled with --enable-mpg123)
openaptx (when apt-X support is enabled with --enable-aptx and/or --enable-aptx-hd)
spandsp (when mSBC support is enabled with --enable-msbc)
libdbus
readline
libbsd
ncurses
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page