From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 1/2] acpid: fix acpid boot error
Date: Thu, 21 Nov 2013 00:53:26 -0600 [thread overview]
Message-ID: <1385016807-21986-2-git-send-email-mark.hatle@windriver.com> (raw)
In-Reply-To: <1385016807-21986-1-git-send-email-mark.hatle@windriver.com>
From: Baogen Shang <baogen.shang@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@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@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)
next prev parent reply other threads:[~2013-11-21 6:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 6:53 [PATCH 0/2] acpid fixes Mark Hatle
2013-11-21 6:53 ` Mark Hatle [this message]
2013-11-21 6:53 ` [PATCH 2/2] acpid: fix acpid break down Mark Hatle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1385016807-21986-2-git-send-email-mark.hatle@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox