aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/acpid/acpid.inc
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/acpid.inc
parent71d7751ade65621d0617ee418df46bf3be0b9df6 (diff)
downloadopenembedded-core-contrib-f4381400292ee7133c6cebd3d8693149f9b64a95.tar.gz
openembedded-core-contrib-f4381400292ee7133c6cebd3d8693149f9b64a95.tar.bz2
openembedded-core-contrib-f4381400292ee7133c6cebd3d8693149f9b64a95.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. (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/acpid.inc')
-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
}