summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/acpid
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2013-09-03 16:32:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 23:03:21 +0100
commitf4381400292ee7133c6cebd3d8693149f9b64a95 (patch)
tree86747437a7b7acd6705fb7575bbfe6f103a2e6c0 /meta/recipes-bsp/acpid
parent71d7751ade65621d0617ee418df46bf3be0b9df6 (diff)
downloadpoky-f4381400292ee7133c6cebd3d8693149f9b64a95.tar.gz
acpid: install events directory at default.
acpid: install events directory at default. If rule directory "${sysconfdir}/acpi/events" is inexist, the acpid initscript will exit with success, but the daemon will be not running. (From OE-Core rev: 8a1c6e465a562b4653f4fb4af3a3845775785485) Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/acpid')
-rw-r--r--meta/recipes-bsp/acpid/acpid.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc
index 1ffe6ff480..40293c5ee4 100644
--- a/meta/recipes-bsp/acpid/acpid.inc
+++ b/meta/recipes-bsp/acpid/acpid.inc
@@ -27,4 +27,7 @@ do_install () {
27 install -d ${D}${sysconfdir}/init.d 27 install -d ${D}${sysconfdir}/init.d
28 cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid 28 cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid
29 chmod 755 ${D}${sysconfdir}/init.d/acpid 29 chmod 755 ${D}${sysconfdir}/init.d/acpid
30
31 install -d ${D}${sysconfdir}/acpi
32 install -d ${D}${sysconfdir}/acpi/events
30} 33}