The default value is "yes" which results in the /var/log being a link pointing to /var/volatile/log which is on tmpfs.
The user could override this value to "no" which causes /var/log to be a directory on persistent storage. [YOCTO #6132] Signed-off-by: Chen Qi <[email protected]> --- meta/conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1472e8f..794f422 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -83,6 +83,9 @@ USRBINPATH_class-nativesdk = "/usr/bin" # Root home directory ROOT_HOME ??= "/home/root" +# If set to "yes", /var/log links to /var/volatile/log; otherwise, /var/log is on persistent storage. +VOLATILE_LOG_DIR ?= "yes" + ################################################################## # Architecture-dependent build variables. ################################################################## -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
