diff options
-rw-r--r-- | meta/classes/package.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 9cfe43cbd1..0b6f65a855 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -774,7 +774,11 @@ python fixup_perms () { | |||
774 | bbpath = d.getVar('BBPATH') | 774 | bbpath = d.getVar('BBPATH') |
775 | fs_perms_tables = d.getVar('FILESYSTEM_PERMS_TABLES') or "" | 775 | fs_perms_tables = d.getVar('FILESYSTEM_PERMS_TABLES') or "" |
776 | for conf_file in fs_perms_tables.split(): | 776 | for conf_file in fs_perms_tables.split(): |
777 | str += " %s" % bb.utils.which(bbpath, conf_file) | 777 | confpath = bb.utils.which(bbpath, conf_file) |
778 | if confpath: | ||
779 | str += " %s" % bb.utils.which(bbpath, conf_file) | ||
780 | else: | ||
781 | bb.warn("cannot find %s specified in FILESYSTEM_PERMS_TABLES" % conf_file) | ||
778 | return str | 782 | return str |
779 | 783 | ||
780 | 784 | ||