From: Baogen Shang Date: Thu, 21 Nov 2013 06:53:26 +0000 (-0600) Subject: acpid: fix acpid boot error X-Git-Tag: 2015-4~4530 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8c0cc8815919c23033a4bb937331c2650c8aee4e;p=openembedded-core.git 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 --- 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)