Hi Christoph,

Christoph Fritz wrote:
> This patch fixes error:
>
> restoring mixer state.../usr/sbin/alsactl: parse:1655: Unable to open file
> '/usr/share/alsa/init/00main': No such file or directory
>
> Same error as:
> https://bugs.busybox.net/show_bug.cgi?id=1573
> http://git.buildroot.net/buildroot/commit/?id=5ad2672470109ddea4c467a67b0d
>
> Signed-off-by: Christoph Fritz <chf.fr...@googlemail.com>
> ---
>  rules/alsa-utils.make |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/rules/alsa-utils.make b/rules/alsa-utils.make
> index e62e3be..3b8ca14 100644
> --- a/rules/alsa-utils.make
> +++ b/rules/alsa-utils.make
> @@ -97,6 +97,8 @@ $(STATEDIR)/alsa-utils.targetinstall:
>       @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqdump)
>       @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqnet)
>
> +     @$(call install_tree, alsa-utils, 0, 0, -, /usr/share/alsa/)
> +

Hmm, I'm using these tools on the Mini2440 and I have never seen such an error 
message. The directory "/usr/share/alsa" itself is created within the package 
alsa-lib.

>  ifdef PTXCONF_ALSA_UTILS_ALSAMIXER
>       @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/alsamixer)
>  endif

I will have a closer look to this issue.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-5121-206917-5128 |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to