mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
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]
(From OE-Core rev: 016bafce52f74462dc8f21a1c1b43ba2e6e59442)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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.
|
||||
##################################################################
|
||||
|
||||
Reference in New Issue
Block a user