diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2016-11-22 15:36:29 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2016-12-14 17:04:13 +0800 |
commit | 31f2112c87dbc93868771592e5111f43bfbf964d (patch) | |
tree | 4d0449bd0f2e29197766d1a39d33b220597348cc | |
parent | d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf (diff) | |
download | openembedded-core-contrib-31f2112c87dbc93868771592e5111f43bfbf964d.tar.gz |
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@windriver.com>
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1472e8f847..0e40c30e32 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -83,6 +83,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. ################################################################## |