]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix mapping python dependencies to python-dbg package
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 1 Sep 2016 02:25:04 +0000 (14:25 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Sep 2016 23:36:43 +0000 (00:36 +0100)
commit46a068ca35975988a8e9c0310f71fdcee55937a4
treee32d5d65cf5634dbadeb21b02d95b01a174f35c9
parent2600cd6f6c63ecf79804e2bc6eb6f198a012d5d6
recipetool: create: fix mapping python dependencies to python-dbg package

When trying to map python module dependencies to the packages that
provide them, if we're looking for .so files that satisfy
dependencies then we need to exclude files found under the .debug
directory, otherwise the dependency will get mapped to the python-dbg
package which isn't correct.

For example, this fixes creating a recipe for pyserial and not getting
python-fcntl in RDEPENDS_${PN}, leading to errors when trying to use the
serial module on the target.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/lib/recipetool/create_buildsys_python.py