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.c...@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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core