From: Baogen Shang Date: Thu, 21 Nov 2013 06:53:26 +0000 (-0600) Subject: acpid: fix acpid boot error X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~35367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c0cc8815919c23033a4bb937331c2650c8aee4e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 9f2c0d48d07..726d9ffd9ed 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)