[oe-commits] Baogen Shang : acpid: fix acpid boot error

git at git.openembedded.org git at git.openembedded.org
Fri Nov 22 14:12:34 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 8c0cc8815919c23033a4bb937331c2650c8aee4e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8c0cc8815919c23033a4bb937331c2650c8aee4e

Author: Baogen Shang <baogen.shang at windriver.com>
Date:   Thu Nov 21 00:53:26 2013 -0600

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 at windriver.com>
Signed-off-by: Jeff Polk <jeff.polk at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-bsp/acpid/acpid/init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-bsp/acpid/acpid/init b/meta/recipes-bsp/acpid/acpid/init
index 9f2c0d4..726d9ff 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)



More information about the Openembedded-commits mailing list