[oe-commits] [openembedded-core] 05/23: bitbake.conf: add VOLATILE_LOG_DIR variable

git at git.openembedded.org git at git.openembedded.org
Thu Aug 17 10:56:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 016bafce52f74462dc8f21a1c1b43ba2e6e59442
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Wed Aug 16 19:57:15 2017 +0800

    bitbake.conf: add VOLATILE_LOG_DIR variable
    
    The default value is "yes" which results in the /var/log being a link
    pointing to /var/volatile/log which is on tmpfs.
    
    Setting valid boolean false value ('no', 'n', 'false', 'f', '0') would make
    /var/log to be a directory on persistent storage.
    
    [YOCTO #6132]
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/bitbake.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3110b9c..334ba23 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -85,6 +85,10 @@ USRBINPATH_class-nativesdk = "/usr/bin"
 # Root home directory
 ROOT_HOME ??= "/home/root"
 
+# If set to boolean true ('yes', 'y', 'true', 't', '1'), /var/log links to /var/volatile/log.
+# If set to boolean false ('no', 'n', 'false', 'f', '0'), /var/log is on persistent storage.
+VOLATILE_LOG_DIR ?= "yes"
+
 ##################################################################
 # Architecture-dependent build variables.
 ##################################################################

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list