diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-08-16 19:57:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-17 10:04:31 +0100 |
commit | 6b22e247bf91f112401cad822cd7fe0b5621ffe0 (patch) | |
tree | 3613a20d01a816a3303e15c82f8bb57cf9e26ace /meta/classes/package.bbclass | |
parent | 50914c4a84e0fb6b9bf6bb1864a2d653218753ce (diff) | |
download | openembedded-core-contrib-6b22e247bf91f112401cad822cd7fe0b5621ffe0.tar.gz |
package.bbclass: support 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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-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 2fe30dac0c..a051617ee1 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -739,7 +739,7 @@ python fixup_perms () { bbpath = d.getVar('BBPATH') fs_perms_tables = d.getVar('FILESYSTEM_PERMS_TABLES') 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 |