summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-11 15:43:57 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-11 15:43:57 +0000
commit530971b6de0c825c418cfb194dc5b8cd9b2c5d87 (patch)
treec740297f3765b48f0c76aa400b42a4a1b92a55da
parent4ef1e4c6f9fd31ca96541afb09ae4f6d63f3957c (diff)
alsa-state: install correct file
-rw-r--r--packages/alsa/alsa-state.bb9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/alsa/alsa-state.bb b/packages/alsa/alsa-state.bb
index 83a9ca6ccd..58c724f79c 100644
--- a/packages/alsa/alsa-state.bb
+++ b/packages/alsa/alsa-state.bb
@@ -6,9 +6,6 @@
DESCRIPTION = "Default ALSA configuration"
LICENSE = "GPL"
-RRECOMMENDS_alsa-state = "alsa-states"
-RRECOMMENDS_${PN}_om-gta01 = "openmoko-alsa-scenarios"
-RRECOMMENDS_${PN}_om-gta02 = "openmoko-alsa-scenarios"
PV = "0.1.0"
PR = "r18"
@@ -27,12 +24,16 @@ do_install() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/alsa-state ${D}${sysconfdir}/init.d
- install -m 0644 ${WORKDIR}/asoundrc ${D}${sysconfdir}
+ install -m 0644 ${WORKDIR}/asound.conf ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/*.state ${D}${sysconfdir}
}
PACKAGES += "alsa-states"
+RRECOMMENDS_alsa-state = "alsa-states"
+RRECOMMENDS_${PN}_om-gta01 = "openmoko-alsa-scenarios"
+RRECOMMENDS_${PN}_om-gta02 = "openmoko-alsa-scenarios"
+
FILES_${PN} = "${sysconfdir}/init.d ${sysconfdir}/asound.conf"
CONFFILES_${PN} = "${sysconfdir}/asound.conf"