On 2019-03-06 12:29, Burton, Ross wrote:
On Wed, 6 Mar 2019 at 20:14, Kaz Kylheku (poky)
<442-103-8...@kylheku.com> wrote:
So, the issues are now is that

FILES_${PN}_remove = "${libdir}/python2.7/encodings"

in fact does not work, as I believed.

Have a look at python.bb.  Specifically:

PACKAGES_remove = "${PN}"

There is no PN being packaged.

Ah, okay; this is because it's been split into various sub-packages. So we have to operate on "-core".
The .json manifest brings these into the "core" package:

            "${libdir}/python2.7/encodings",
            "${libdir}/python2.7/encodings/aliases.py",
            "${libdir}/python2.7/encodings/utf_8.py",

I don't want all of encoders, just the utf_8.py and the aliases dictionary.

So I'm guessing this should be

  FILES_${PN}-core_remove =


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to