From: Chen Qi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 1/4] bitbake.conf: add VOLATILE_LOG_DIR variable
Date: Tue, 24 Mar 2015 16:42:44 +0800 [thread overview]
Message-ID: <ac4af75b23af7dee15200ae6e1a6018072e07c41.1427186518.git.Qi.Chen@windriver.com> (raw)
In-Reply-To: <cover.1427186518.git.Qi.Chen@windriver.com>
The default value is "log" which results in the same /var/log to be
a link pointing to /var/volatile/log.
The user could override this value to "" which causes /var/log to be
a directory on persistent storage.
[YOCTO #6132]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/conf/bitbake.conf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f3586da..19b904c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -77,6 +77,10 @@ USRBINPATH_class-nativesdk = "/usr/bin"
# Root home directory
ROOT_HOME ??= "/home/root"
+# Volatile log direcotry
+# If it's set to "", then the log directory on the final image is on persistent storage.
+VOLATILE_LOG_DIR ?= "log"
+
##################################################################
# Architecture-dependent build variables.
##################################################################
--
1.9.1
next prev parent reply other threads:[~2015-03-24 8:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 8:42 [PATCH 0/4] Support persistent /var/log Chen Qi
2015-03-24 8:42 ` Chen Qi [this message]
2015-03-24 8:42 ` [PATCH 2/4] base-files: respect VOLATILE_LOG_DIR Chen Qi
2015-03-24 8:42 ` [PATCH 3/4] initscripts: support persistent /var/log Chen Qi
2015-03-24 8:42 ` [PATCH 4/4] package.bbclass: " Chen Qi
2015-04-07 3:10 ` [PATCH 0/4] Support " ChenQi
2015-05-26 5:43 ` ChenQi
2015-05-26 9:15 ` Paul Eggleton
2015-05-28 4:55 ` Khem Raj
2015-05-28 6:05 ` ChenQi
2016-11-22 10:10 [PATCH 0/4] Persistent /var/log support Chen Qi
2016-11-22 10:10 ` [PATCH 1/4] bitbake.conf: add VOLATILE_LOG_DIR variable Chen Qi
2017-08-16 11:57 [PATCH V4 0/4] Persistent /var/log support Chen Qi
2017-08-16 11:57 ` [PATCH 1/4] bitbake.conf: add VOLATILE_LOG_DIR variable Chen Qi
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=ac4af75b23af7dee15200ae6e1a6018072e07c41.1427186518.git.Qi.Chen@windriver.com \
--to=qi.chen@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.