summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-08-27 18:40:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-28 09:14:26 +0100
commit2f8806deb7655b37d6f8d12ff54680d6acf7a298 (patch)
treef4462922f87add9ab1736eb790e56840a7be01c8 /meta/conf
parentcd25fc78d8707d4c4481f08c83f4d6bbed45b5a4 (diff)
downloadpoky-2f8806deb7655b37d6f8d12ff54680d6acf7a298.tar.gz
bitbake.conf: drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead
Drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead. By default, it contains 'files/fs-perms-volatile-log.txt', which means volatile log is enabled. User can disable volatile log by remove 'files/fs-perms-volatile-log.txt' from FILESYSTEM_PERMS_TABLES. (From OE-Core rev: 91128c6517066715f2afe6b46aa3206c7cf3653e) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1acb56433c..76ae17e644 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -86,10 +86,6 @@ USRBINPATH:class-nativesdk = "/usr/bin"
86# Root home directory 86# Root home directory
87ROOT_HOME ??= "/home/root" 87ROOT_HOME ??= "/home/root"
88 88
89# If set to boolean true ('yes', 'y', 'true', 't', '1'), /var/log links to /var/volatile/log.
90# If set to boolean false ('no', 'n', 'false', 'f', '0'), /var/log is on persistent storage.
91VOLATILE_LOG_DIR ?= "yes"
92
93# if set to 'yes': /tmp links to /var/tmp which links to /var/volatile/tmp 89# if set to 'yes': /tmp links to /var/tmp which links to /var/volatile/tmp
94# otherwise: /tmp is on persistent storage 90# otherwise: /tmp is on persistent storage
95VOLATILE_TMP_DIR ?= "yes" 91VOLATILE_TMP_DIR ?= "yes"
@@ -384,7 +380,8 @@ FILESEXTRAPATHS ?= "__default:"
384# base_prefix, prefix, exec_prefix, base_bindir, base_sbindir, base_libdir, 380# base_prefix, prefix, exec_prefix, base_bindir, base_sbindir, base_libdir,
385# datadir, sysconfdir, servicedir, sharedstatedir, localstatedir, infodir, 381# datadir, sysconfdir, servicedir, sharedstatedir, localstatedir, infodir,
386# mandir, docdir, bindir, sbindir, libexecdir, libdir and includedir 382# mandir, docdir, bindir, sbindir, libexecdir, libdir and includedir
387FILESYSTEM_PERMS_TABLES ?= "${@'files/fs-perms.txt' if oe.types.boolean(d.getVar('VOLATILE_LOG_DIR')) else 'files/fs-perms-persistent-log.txt'}" 383FILESYSTEM_PERMS_TABLES ?= "files/fs-perms.txt \
384 files/fs-perms-volatile-log.txt"
388 385
389################################################################## 386##################################################################
390# General work and output directories for the build system. 387# General work and output directories for the build system.