Dear openembedded-core members,
How can I avoid bringing Python into my image via libpwquality? I need
to keep my image size small. My bbappend uses EXTRA_OECONF +=
"--enable-python-bindings=no" to take advantage of the source project's
configuration option [1], but because libpwquality_1.4.4.bb [2] imports
distutil3-base, my image gets Python. I built a working proof of
concept that libpwquality does not need Python here: [3].
I tried enhancing libpwquality_1.4.4.bb with PACKAGECONFIG
"python-bindings" (so my bbappend can use
PACKAGECONFIG_remove="python-bindings") but can't find a way to get the
final value of PACKAGECONFIG to conditionally `inherit
distutils3-base`. So I am asking for help.
How can I avoid bringing in Python via libpwquality?
I am also curious if anyone else is interested in changing the default
install location for libpwquality.so to /lib/security/ (where Yocto/Poky
defaults to /usr/lib/security).
- Joseph
[1]:
https://github.com/libpwquality/libpwquality/blob/master/configure.ac#L119
[2]:
https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb
[3]:
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/40102/4..5/meta-openembedded/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb#21
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147912):
https://lists.openembedded.org/g/openembedded-core/message/147912
Mute This Topic: https://lists.openembedded.org/mt/80516859/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-