[OE-core] [PATCH 1/2] acpid: fix acpid boot error
Mark Hatle
mark.hatle at windriver.com
Thu Nov 21 06:53:26 UTC 2013
From: Baogen Shang <baogen.shang at windriver.com>
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>
---
meta/recipes-bsp/acpid/acpid/init | 1 +
meta/recipes-bsp/acpid/acpid_1.0.10.bb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
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-core
mailing list