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 14:08:32 +0000 |
| commit | 637ad2f8193cd5a708ba246c6f7d26a794ac3e4f (patch) | |
| tree | b6b8da4177b37b0ef44ecab2e24a50255fe4f840 | |
| parent | 6a3a4ba267871efbae1e908e85edb70ce4a3c244 (diff) | |
| download | poky-637ad2f8193cd5a708ba246c6f7d26a794ac3e4f.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.
(From OE-Core rev: 8c0cc8815919c23033a4bb937331c2650c8aee4e)
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 @@ | |||
| 2 | 2 | ||
| 3 | test -x /usr/sbin/acpid || exit 0 | 3 | test -x /usr/sbin/acpid || exit 0 |
| 4 | test -d /proc/acpi || exit 0 | 4 | test -d /proc/acpi || exit 0 |
| 5 | mkdir -p /etc/acpi/events | ||
| 5 | 6 | ||
| 6 | case "$1" in | 7 | case "$1" in |
| 7 | start) | 8 | start) |
