mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
bitbake.conf: drop VOLATILE_TMP_DIR, use FILESYSTEM_PERMS_TABLES instead
* Drop VOLATILE_TMP_DIR, use FILESYSTEM_PERMS_TABLES instead. By default,
FILESYSTEM_PERMS_TABLES ?= "files/fs-perms.txt \
files/fs-perms-volatile-log.txt \
files/fs-perms-volatile-tmp.txt"
it contains 'files/fs-perms-volatile-tmp.txt', which means volatile tmp
is enabled. User can disable volatile tmp by remove
'files/fs-perms-volatile-tmp.txt' from FILESYSTEM_PERMS_TABLES.
* If volatile tmp is disabled, both /tmp and /var/tmp are persistent
(From OE-Core rev: 8d1ae67b89c45f78162e070228086c7ef88c3264)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2f8806deb7
commit
2f46b6f27d
@@ -86,10 +86,6 @@ USRBINPATH:class-nativesdk = "/usr/bin"
|
||||
# Root home directory
|
||||
ROOT_HOME ??= "/home/root"
|
||||
|
||||
# if set to 'yes': /tmp links to /var/tmp which links to /var/volatile/tmp
|
||||
# otherwise: /tmp is on persistent storage
|
||||
VOLATILE_TMP_DIR ?= "yes"
|
||||
|
||||
BB_RENAMED_VARIABLES[PNBLACKLIST] = "SKIP_RECIPE"
|
||||
BB_RENAMED_VARIABLES[CVE_CHECK_PN_WHITELIST] = "CVE_CHECK_SKIP_RECIPE"
|
||||
BB_RENAMED_VARIABLES[CVE_CHECK_WHITELIST] = "CVE_CHECK_IGNORE"
|
||||
@@ -381,7 +377,8 @@ FILESEXTRAPATHS ?= "__default:"
|
||||
# datadir, sysconfdir, servicedir, sharedstatedir, localstatedir, infodir,
|
||||
# mandir, docdir, bindir, sbindir, libexecdir, libdir and includedir
|
||||
FILESYSTEM_PERMS_TABLES ?= "files/fs-perms.txt \
|
||||
files/fs-perms-volatile-log.txt"
|
||||
files/fs-perms-volatile-log.txt \
|
||||
files/fs-perms-volatile-tmp.txt"
|
||||
|
||||
##################################################################
|
||||
# General work and output directories for the build system.
|
||||
|
||||
Reference in New Issue
Block a user