-
Notifications
You must be signed in to change notification settings - Fork 54
Reduce Python 3 dependencies #92
Conversation
|
@ipuustin I think this is OK but perhaps follow-up with Ross if it was simply forgotten. |
| PACKAGECONFIG_remove_pn-pulseaudio = "avahi" | ||
|
|
||
| # leave out readline, gdbm, and db | ||
| PACKAGECONFIG_pn-python3 = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?= is preferred.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right.
|
@rossburton: what's your take on this? Should we have this in refkit or could we add the functionality to oe-core? |
|
Sorry, slipped through. Yes, I think the PACKAGECONFIGs should be in core. It's very late but I'll review that properly and see what we can do. |
The three libraries' (readline, gdbm, and db) licenses belong to the GPLv3 family. Add them to to PACKAGECONFIG so they can be switched off if the licensing doesn't allow using them. Python build system autodetects the dependencies but doesn't allow them to be explicitly disabled, so just deal with the dependencies. The defaults in PACKAGECONFIG are the same as before, so there should be no change to current users. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
|
This is on it's way to oe-core but let's take the bbappend in until then. |
|
It seems that this is somewhat broken now due to openembedded/openembedded-core@54a2549 . Need to investigate a bit. |
Compile Python 3 without readline, gdbm, and db support. This removes the need for GPLv3 depedencies.
The patch was submitted upstream (https://patchwork.openembedded.org/patch/136368/) but never merged. This is the
.bbappendversion of it.