[OE-core] [PATCH 2/4] python3: Restructure python3 packaging and replace it with autopackaging
Burton, Ross
ross.burton at intel.com
Fri Nov 24 17:05:25 UTC 2017
On 18 October 2017 at 22:07, Alejandro Hernandez <
alejandro.hernandez at linux.intel.com> wrote:
> @@ -77,8 +75,30 @@ do_install() {
> sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
> done
>
> - # Tests are large and we don't need them in the native sysroot
> - rm ${D}${libdir}/python${PYTHON_MAJMIN}/test -rf
> + # Add a symlink to the native Python so that scripts can just
> invoke
> + # "nativepython" and get the right one without needing absolute
> paths
> + # (these often end up too long for the #! parser in the kernel as
> the
> + # buffer is 128 bytes long).
> + ln -s python3-native/python3 ${D}${bindir}/nativepython3
>
Is that rm of the tests redundant?
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171124/66652b63/attachment-0002.html>
More information about the Openembedded-core
mailing list