summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 5cb1939e54..6aed4cac70 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -268,6 +268,9 @@ def files_from_filevars(filevars):
268 if dirname == '.': 268 if dirname == '.':
269 continue 269 continue
270 if cpath.islink(parent): 270 if cpath.islink(parent):
271 bb.warn("FILES contains file '%s' which resides under a "
272 "directory symlink. Please fix the recipe and use the "
273 "real path for the file." % f[1:])
271 symlink_paths.append(f) 274 symlink_paths.append(f)
272 files[ind] = parent 275 files[ind] = parent
273 f = parent 276 f = parent