alsa: do not restore UCM profiles
There is a harmless error when restoring alsa profiles, as it also attempts to restore UCM profiles. Since we do not include UCM profiles for our sound cards, skip it. https://onedigi.atlassian.net/browse/DEL-9066 Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
ac23714967
commit
d439abd0d4
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (C) 2024 Digi International.
|
||||
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
sed -i -e 's:alsactl restore:alsactl --no-ucm restore:g' \
|
||||
${D}${systemd_unitdir}/system/alsa-restore.service
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in New Issue