From 8c0cc8815919c23033a4bb937331c2650c8aee4e Mon Sep 17 00:00:00 2001 From: Baogen Shang Date: Thu, 21 Nov 2013 00:53:26 -0600 Subject: 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 Signed-off-by: Jeff Polk Signed-off-by: Richard Purdie --- meta/recipes-bsp/acpid/acpid/init | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') 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) -- cgit 1.2.3-korg