diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2016-11-22 15:41:04 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2016-12-14 17:04:21 +0800 |
commit | 382f5ed26e26befba2f9987b94fdd62131a54224 (patch) | |
tree | 0b790557e6396a01d93917bc2c0cf7b67c99a4d2 /meta/classes | |
parent | a1b8a0d9776f995e83b85ac82b14e2592698de7d (diff) | |
download | openembedded-core-contrib-ChenQi/persistent-var-log.tar.gz |
package.bbclass: support persistent /var/logChenQi/persistent-var-log
Add a new file, fs-perms-persistent-log.txt, which treats /var/log
as a directory instead of a link.
Modify package.bbclass to use this file if VOLATILE_LOG_DIR is set to boolean
false value.
[YOCTO #6132]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index a6f0a7a63d..e60056e636 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -733,7 +733,7 @@ python fixup_perms () { bbpath = d.getVar('BBPATH', True) fs_perms_tables = d.getVar('FILESYSTEM_PERMS_TABLES', True) if not fs_perms_tables: - fs_perms_tables = 'files/fs-perms.txt' + fs_perms_tables = 'files/fs-perms.txt' if oe.types.boolean(d.getVar('VOLATILE_LOG_DIR', True)) else 'files/fs-perms-persistent-log.txt' for conf_file in fs_perms_tables.split(): str += " %s" % bb.utils.which(bbpath, conf_file) return str |