aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorBaogen Shang <baogen.shang@windriver.com>2013-11-21 00:53:26 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-22 13:39:33 +0000
commit8c0cc8815919c23033a4bb937331c2650c8aee4e (patch)
tree1620a2b8a52f6970be9a1329fca3b22443e3ebd4 /meta/recipes-bsp
parent17a432dc059e24ba10d4baec988828c0025a5e46 (diff)
downloadopenembedded-core-contrib-8c0cc8815919c23033a4bb937331c2650c8aee4e.tar.gz
acpid: fix acpid boot error
when booting board,the acpid daemon display some error information. the information as follow: acpid: opendir(/etc/acpi/events): No such file or directory the path "/etc/acpi/events" does not exist,so building the directory to fix the bug. Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rwxr-xr-xmeta/recipes-bsp/acpid/acpid/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/acpid/acpid/init b/meta/recipes-bsp/acpid/acpid/init
index 9f2c0d48d0..726d9ffd9e 100755
--- a/meta/recipes-bsp/acpid/acpid/init
+++ b/meta/recipes-bsp/acpid/acpid/init
@@ -2,6 +2,7 @@
test -x /usr/sbin/acpid || exit 0
test -d /proc/acpi || exit 0
+mkdir -p /etc/acpi/events
case "$1" in
start)