[OE-core] [PATCH 1/4] bitbake.conf: add VOLATILE_LOG_DIR variable

Chen Qi Qi.Chen at windriver.com
Tue Mar 24 08:42:44 UTC 2015


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 at 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




More information about the Openembedded-core mailing list