diff options
-rw-r--r-- | meta/classes/package.bbclass | 4 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 7a62181456..2053d46395 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -737,9 +737,7 @@ python fixup_perms () { | |||
737 | def get_fs_perms_list(d): | 737 | def get_fs_perms_list(d): |
738 | str = "" | 738 | str = "" |
739 | bbpath = d.getVar('BBPATH') | 739 | bbpath = d.getVar('BBPATH') |
740 | fs_perms_tables = d.getVar('FILESYSTEM_PERMS_TABLES') | 740 | fs_perms_tables = d.getVar('FILESYSTEM_PERMS_TABLES') or "" |
741 | if not fs_perms_tables: | ||
742 | fs_perms_tables = 'files/fs-perms.txt' if oe.types.boolean(d.getVar('VOLATILE_LOG_DIR', True)) else 'files/fs-perms-persistent-log.txt' | ||
743 | for conf_file in fs_perms_tables.split(): | 741 | for conf_file in fs_perms_tables.split(): |
744 | str += " %s" % bb.utils.which(bbpath, conf_file) | 742 | str += " %s" % bb.utils.which(bbpath, conf_file) |
745 | return str | 743 | return str |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 444c53f677..8fb596e6b9 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -330,6 +330,14 @@ FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE', False))}" | |||
330 | # This default was only used for checking | 330 | # This default was only used for checking |
331 | FILESEXTRAPATHS ?= "__default:" | 331 | FILESEXTRAPATHS ?= "__default:" |
332 | 332 | ||
333 | # The default list of fs-perms files to process. If the list is empty only | ||
334 | # the builtin definitions will be used. Builtin definitions included: | ||
335 | # base_prefix, prefix, exec_prefix, base_bindir, base_sbindir, base_libdir, | ||
336 | # datadir, sysconfdir, servicedir, sharedstatedir, localstatedir, infodir, | ||
337 | # mandir, docdir, bindir, sbindir, libexecdir, libdir, includedir and | ||
338 | # oldincludedir | ||
339 | FILESYSTEM_PERMS_TABLES ?= "${@'files/fs-perms.txt' if oe.types.boolean(d.getVar('VOLATILE_LOG_DIR', True)) else 'files/fs-perms-persistent-log.txt'}" | ||
340 | |||
333 | ################################################################## | 341 | ################################################################## |
334 | # General work and output directories for the build system. | 342 | # General work and output directories for the build system. |
335 | ################################################################## | 343 | ################################################################## |