]> code.ossystems Code Review - openembedded-core.git/commit
create_manifest3: Dont match filenames which contain the directory name for new manifest
authorAlejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com>
Sat, 8 Dec 2018 01:33:46 +0000 (17:33 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Dec 2018 11:08:07 +0000 (11:08 +0000)
commit59db12fdf294cfab5c1730337d092a75867658f7
tree8a5cc6b5e56c1dd8904be2e9b576a0440a07c471
parent924d6956fb5bef3effe8914fe61e8cad6f71a231
create_manifest3: Dont match filenames which contain the directory name for new manifest

When creating a new python3 manifest, there is a corner case on which
the filepath for a certain dependency that was found, could contain
the path of an existing folder, e.g. ${libdir}/python3/xmlrpclib.py
module path contains ${libdir}/python3/xml, this causes an issue where
the dependency doesnt get eventually added on FILES for that module.

This patch checks if the dependency that was found is a directory, if it
is, it checks if it matches one of the existing directories on the
manifest, if it is not, then it checks if the dependency's path (without
the filename) matches one of the directories.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/create_manifest3.py