summaryrefslogtreecommitdiff
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 12:09:29 +0100
commit8a1c6e465a562b4653f4fb4af3a3845775785485 (patch)
treede55362812150461bcd4081ba0e6f7f114571b5d /meta/recipes-bsp/acpid
parent1155b59ddc9c705039fed16bf70fcc182e551a9c (diff)
downloadopenembedded-core-8a1c6e465a562b4653f4fb4af3a3845775785485.tar.gz
openembedded-core-8a1c6e465a562b4653f4fb4af3a3845775785485.tar.bz2
openembedded-core-8a1c6e465a562b4653f4fb4af3a3845775785485.zip
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. 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 () {
install -d ${D}${sysconfdir}/init.d
cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid
chmod 755 ${D}${sysconfdir}/init.d/acpid
+
+ install -d ${D}${sysconfdir}/acpi
+ install -d ${D}${sysconfdir}/acpi/events
}