diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-08-16 19:57:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-18 10:40:26 +0100 |
commit | 6ba3e68ee81b1fcdeb642056664212d36b90e1c7 (patch) | |
tree | 45d4c34f2f5accf7e2cfcc69a6248863ffd88d46 /meta/conf | |
parent | 1f9c9a288494dab303785414b75077b91301d293 (diff) | |
download | poky-6ba3e68ee81b1fcdeb642056664212d36b90e1c7.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]
(From OE-Core rev: 016bafce52f74462dc8f21a1c1b43ba2e6e59442)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-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 3110b9c6ed..334ba2361f 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -85,6 +85,10 @@ USRBINPATH_class-nativesdk = "/usr/bin" | |||
85 | # Root home directory | 85 | # Root home directory |
86 | ROOT_HOME ??= "/home/root" | 86 | ROOT_HOME ??= "/home/root" |
87 | 87 | ||
88 | # If set to boolean true ('yes', 'y', 'true', 't', '1'), /var/log links to /var/volatile/log. | ||
89 | # If set to boolean false ('no', 'n', 'false', 'f', '0'), /var/log is on persistent storage. | ||
90 | VOLATILE_LOG_DIR ?= "yes" | ||
91 | |||
88 | ################################################################## | 92 | ################################################################## |
89 | # Architecture-dependent build variables. | 93 | # Architecture-dependent build variables. |
90 | ################################################################## | 94 | ################################################################## |