From: Javier Marcet Date: Mon, 19 Jul 2021 05:50:09 +0000 (+0000) Subject: alsa-lib: install also /usr/share/alsa/ctl or alsa-mixer fails with: X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=44158274de4ff478f287105c2ffb7d9e01f221ba;p=feed%2Fpackages.git alsa-lib: install also /usr/share/alsa/ctl or alsa-mixer fails with: ❯ 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 --- diff --git a/libs/alsa-lib/Makefile b/libs/alsa-lib/Makefile index 691ab4fbfe..ffdba1103a 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/