From 44158274de4ff478f287105c2ffb7d9e01f221ba Mon Sep 17 00:00:00 2001 From: Javier Marcet Date: Mon, 19 Jul 2021 05:50:09 +0000 Subject: [PATCH] alsa-lib: install also /usr/share/alsa/ctl or alsa-mixer fails with: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ❯ alsamixer ALSA lib conf.c:827:(get_char_skip_comments) Cannot access file /usr/share/alsa/ctl/default.conf ALSA lib conf.c:1994:(_snd_config_load_with_include) _toplevel_:61:26:No such file or directory ALSA lib conf.c:4040:(config_file_open) /usr/share/alsa/cards/aliases.conf may be old or corrupted: consider to remove or fix it ALSA lib conf.c:3962:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory ALSA lib control.c:1481:(snd_ctl_open_noupdate) Invalid CTL cards.ctl.default cannot open mixer: No such file or directory Signed-off-by: Javier Marcet --- libs/alsa-lib/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/alsa-lib/Makefile b/libs/alsa-lib/Makefile index 691ab4fbf..ffdba1103 100644 --- a/libs/alsa-lib/Makefile +++ b/libs/alsa-lib/Makefile @@ -100,10 +100,13 @@ define Package/alsa-lib/install $(PKG_INSTALL_DIR)/usr/lib/libatopology.so.* \ $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/share/alsa/{cards,pcm} + $(INSTALL_DIR) $(1)/usr/share/alsa/{cards,ctl,pcm} $(INSTALL_DATA) \ $(PKG_INSTALL_DIR)/usr/share/alsa/alsa.conf \ $(1)/usr/share/alsa/ + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/alsa/ctl/* \ + $(1)/usr/share/alsa/ctl/ $(INSTALL_DATA) \ $(PKG_INSTALL_DIR)/usr/share/alsa/pcm/* \ $(1)/usr/share/alsa/pcm/