summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-04-20 14:41:53 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-05-03 21:49:25 +0200
commitb05f23b933018c2ccce890620a6bdbb6619001ce (patch)
treefdc6a856b0e99ee1d7853fc5d57fcd1b16fd0c1d
parent6780d0ba04ecf4cf4bf2ec1dc9f13c78868cf95c (diff)
alsa-utils: make /var/lib/alsa directory in target
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>
-rw-r--r--package/multimedia/alsa-utils/alsa-utils.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/multimedia/alsa-utils/alsa-utils.mk b/package/multimedia/alsa-utils/alsa-utils.mk
index d5c34d307..f3954200e 100644
--- a/package/multimedia/alsa-utils/alsa-utils.mk
+++ b/package/multimedia/alsa-utils/alsa-utils.mk
@@ -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