alsa-utils: make /var/lib/alsa directory in target
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 20 Apr 2011 17:41:53 +0000 (14:41 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 3 May 2011 19:49:25 +0000 (21:49 +0200)
alsactl needs /var/lib/alsa to store asound.state when saving mixer
settings so make it in the target.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/alsa-utils/alsa-utils.mk

index d5c34d3074251d4a7f4c5ce7ab6da4e5a48ce933..f3954200e5d9ff47a293e99a3cc819064e427975 100644 (file)
@@ -36,6 +36,7 @@ ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ASEQNET) += usr/bin/aseqnet
 ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-test
 
 define ALSA_UTILS_INSTALL_TARGET_CMDS
+       mkdir -p $(TARGET_DIR)/var/lib/alsa
        for i in $(ALSA_UTILS_TARGETS_y); do \
                install -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i; \
        done