summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-04-24 21:56:57 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-04-24 21:56:57 +0200
commit7b85f7a3e5129f743e533692c6cbf15273ac02f6 (patch)
treef3c4adf1d44b93dfe2fe2bd4694b2c986f1105c7
parentd17aeb6742f21dc9cf5fbc13e7955d09a1ade096 (diff)
Fix the dynamic asound.state file installationchinook_3.0.3chinook/3.0.33.0.3
This is a follow-up fix for SPEC-553. We need to install the chosen file. Change-Id: I2471dd3b5ad47ca01706c61ee89ea3a1d895da39 Bug-AGL: SPEC-553 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb b/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb
index 10cdcaf..db616ce 100644
--- a/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb
+++ b/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb
@@ -10,16 +10,19 @@ FILESEXTRAPATHS_prepend = "${THISDIR}/alsa-utils-config:"
SRC_URI = "file://COPYING \
"
-SRC_URI_append_porter = "file://asound.state-porter"
-SRC_URI_append_koelsch = "file://asound.state-porter"
-# SRC_URI_append_silk = "file://asound.state-silk"
+
+ASOUNDSTATEFILE_porter = "asound.state-porter"
+ASOUNDSTATEFILE_koelsch = "asound.state-porter"
+#ASOUNDSTATEFILE_silk = "asound.state-silk"
+
+SRC_URI_append = " file://${ASOUNDSTATEFILE}"
# package with no tarball
S = "${WORKDIR}"
do_install() {
install -d ${D}/${localstatedir}/lib/alsa
- install -m 0644 asound.state ${D}/${localstatedir}/lib/alsa
+ install -m 0644 ${ASOUNDSTATEFILE} ${D}/${localstatedir}/lib/alsa/asound.state
}
FILES_${PN} += "${localstatedir}"