package.bbclass: warn about files under symlinked directories
[YOCTO #9827] (From OE-Core rev: 27b285bd641d62f65154e6deec5146c0c8bb1458) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
961b5269cd
commit
7633b81aac
|
@ -268,6 +268,9 @@ def files_from_filevars(filevars):
|
|||
if dirname == '.':
|
||||
continue
|
||||
if cpath.islink(parent):
|
||||
bb.warn("FILES contains file '%s' which resides under a "
|
||||
"directory symlink. Please fix the recipe and use the "
|
||||
"real path for the file." % f[1:])
|
||||
symlink_paths.append(f)
|
||||
files[ind] = parent
|
||||
f = parent
|
||||
|
|
Loading…
Reference in New Issue