[Buildroot] [git commit] alsa-utils: make /var/lib/alsa directory in target

Gustavo Zacarias gustavo at zacarias.com.ar
Tue May 3 20:43:55 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=b05f23b933018c2ccce890620a6bdbb6619001ce
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/multimedia/alsa-utils/alsa-utils.mk |    1 +
 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 d5c34d3..f395420 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
-- 
1.7.3.4




More information about the buildroot mailing list