[OE-core] [PATCH v3] python3: make readline and gdbm support conditional.

Puustinen, Ismo ismo.puustinen at intel.com
Wed Jun 14 09:59:57 UTC 2017


On Tue, 2017-06-13 at 20:36 +0100, Burton, Ross wrote:
> If gdbm isn't present then the gdbm package isn't generated at all,
> which is as expected.  python3-readline just contains the rlcompleter
> package which is basically an implementation detail and could
> arguably be deleted in a do_install_append that checks the
> PACKAGECONFIG.

So, if I understand this correctly, you want to have this
do_install_append?

> The provides/depends will be needed still though, unless we teach the
> manifest generator that some packages depend on PACKAGECONFIG flags.

I was thinking the same. Changing the manifest generator might be
cleaner than "patching" the manifest file like this. However, it would
split the changes into three places: the recipe itself, the manifest
generator, and the generated manifest file. This would make it more
difficult for someone reading the recipe to understand how the
mechanism works. Anyway, please tell how you would like me to proceed
here: do you want to have the patch as it is done now or do you want to
see the generator changed?

Ismo


More information about the Openembedded-core mailing list