]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:48 +0000 (00:36 +0100)
commit9885a9dd3167670f4716991a39aed1b04e274c87
tree44c648980bada4f9a3ca8e243a5bebbb900c08ea
parent4da96ce61f92cfa22f85ae38435cbb57bce17dd6
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.

(From OE-Core rev: 46a068ca35975988a8e9c0310f71fdcee55937a4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_buildsys_python.py