diff options
author | Baogen Shang <baogen.shang@windriver.com> | 2013-11-21 00:53:26 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-22 13:39:33 +0000 |
commit | 8c0cc8815919c23033a4bb937331c2650c8aee4e (patch) | |
tree | 1620a2b8a52f6970be9a1329fca3b22443e3ebd4 | |
parent | 17a432dc059e24ba10d4baec988828c0025a5e46 (diff) | |
download | openembedded-core-8c0cc8815919c23033a4bb937331c2650c8aee4e.tar.gz openembedded-core-8c0cc8815919c23033a4bb937331c2650c8aee4e.tar.bz2 openembedded-core-8c0cc8815919c23033a4bb937331c2650c8aee4e.zip |
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>
-rwxr-xr-x | meta/recipes-bsp/acpid/acpid/init | 1 |
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) |