From: Markus Lehtonen Date: Thu, 4 Aug 2016 09:02:12 +0000 (+0300) Subject: package.bbclass: warn about files under symlinked directories X-Git-Tag: uninative-1.3~35 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=27b285bd641d62f65154e6deec5146c0c8bb1458;p=openembedded-core.git package.bbclass: warn about files under symlinked directories [YOCTO #9827] Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton --- 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): 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