diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-08-04 12:02:11 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:45:13 +0100 |
commit | 29d1738329ddf4e63844a9ad1158a1d41e2ee343 (patch) | |
tree | d27ae5cf9c17b3e96919ab454eac85a8690619e9 /scripts/lib/recipetool/create_buildsys.py | |
parent | e364ecc1216b04f2b61a88a623d2e9b5199af261 (diff) | |
download | openembedded-core-29d1738329ddf4e63844a9ad1158a1d41e2ee343.tar.gz openembedded-core-29d1738329ddf4e63844a9ad1158a1d41e2ee343.tar.bz2 openembedded-core-29d1738329ddf4e63844a9ad1158a1d41e2ee343.zip |
package.bbclass: better handling of middle-path dir symlinks
For example in a directory structure like this
.
├── symlink -> foo/bar
└── foo
└── bar
└── file
'file' could be referenced by specifying e.g. 'foo/bar/file' or
'symlink/file'. In cases like this populate_packages() might crash if
the file was referenced (in FILES) via the symlinked directory. The
outcome depends on how the user defined FILES_pn. This patch should
make the function behave more consistently. It looks for files which are
referenced via symlinked directories and handles them separately,
failing if their parent directory is a non-existent path. For example,
defining FILES_{PN} = "symlink/file" causes a build failure because
symlinks target 'foo/bar' is not included at all.
[YOCTO #9827]
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys.py')
0 files changed, 0 insertions, 0 deletions