diff options
Diffstat (limited to 'meta-n450/recipes-bsp/n450-audio/n450-audio.bb')
-rw-r--r-- | meta-n450/recipes-bsp/n450-audio/n450-audio.bb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-n450/recipes-bsp/n450-audio/n450-audio.bb b/meta-n450/recipes-bsp/n450-audio/n450-audio.bb deleted file mode 100644 index 27904e32..00000000 --- a/meta-n450/recipes-bsp/n450-audio/n450-audio.bb +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | SUMMARY = "Provide a basic init script to enable audio" | ||
2 | DESCRIPTION = "Set the volume and unmute the Front mixer setting during boot." | ||
3 | SECTION = "base" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | ||
6 | |||
7 | PR = "r4" | ||
8 | |||
9 | inherit update-rc.d | ||
10 | |||
11 | RDEPENDS = "alsa-utils-amixer" | ||
12 | |||
13 | SRC_URI = "file://n450-audio" | ||
14 | |||
15 | INITSCRIPT_NAME = "n450-audio" | ||
16 | INITSCRIPT_PARAMS = "defaults 90" | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${sysconfdir} \ | ||
20 | ${D}${sysconfdir}/init.d | ||
21 | install -m 0755 ${WORKDIR}/n450-audio ${D}${sysconfdir}/init.d | ||
22 | cat ${WORKDIR}/${INITSCRIPT_NAME} | \ | ||
23 | sed -e 's,/etc,${sysconfdir},g' \ | ||
24 | -e 's,/usr/sbin,${sbindir},g' \ | ||
25 | -e 's,/var,${localstatedir},g' \ | ||
26 | -e 's,/usr/bin,${bindir},g' \ | ||
27 | -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
28 | chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
29 | } | ||
30 | |||