From: Changqing Li <changqing...@windriver.com> To support persistent /var/tmp, rename VOLATILE_LOG_DIR to VOLATILE_DIR
Don't use VOLATILE_LOG_DIR/VOLATILE_TMP_DIR to control it separately since it will make things complicated, we need to make kinds of fs-perms*.txt for kinds of combination of the two variables. Signed-off-by: Changqing Li <changqing...@windriver.com> --- meta/conf/bitbake.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index bdade79abe..8fd688c793 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -86,9 +86,11 @@ 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" +# If set to boolean true ('yes', 'y', 'true', 't', '1'), /var/log links to +# /var/volatile/log, /var/tmp links to /var/volatile/tmp +# If set to boolean false ('no', 'n', 'false', 'f', '0'), /var/log and /var/tmp +# is on persistent storage. +VOLATILE_DIR ?= "yes" ################################################################## # Architecture-dependent build variables. @@ -350,7 +352,7 @@ FILESEXTRAPATHS ?= "__default:" # datadir, sysconfdir, servicedir, sharedstatedir, localstatedir, infodir, # mandir, docdir, bindir, sbindir, libexecdir, libdir, includedir and # oldincludedir -FILESYSTEM_PERMS_TABLES ?= "${@'files/fs-perms.txt' if oe.types.boolean(d.getVar('VOLATILE_LOG_DIR')) else 'files/fs-perms-persistent-log.txt'}" +FILESYSTEM_PERMS_TABLES ?= "${@'files/fs-perms.txt' if oe.types.boolean(d.getVar('VOLATILE_DIR')) else 'files/fs-perms-persistent.txt'}" ################################################################## # General work and output directories for the build system. -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#138208): https://lists.openembedded.org/g/openembedded-core/message/138208 Mute This Topic: https://lists.openembedded.org/mt/74177900/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-