<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hey Ross,<br>
</p>
<p><br>
</p>
<p>The thing is that we do need them on the native sysroot, since
when we are creating a new manifest, it uses python-native to do
that, and it needs to match those files, if they dont exist, they
end up in another package.</p>
<p><br>
</p>
<p>Alejandro<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/24/2017 11:05 AM, Burton, Ross
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJTo0LZ9zc9iUDvqT0an2LFgNszckm2PKkTD__XQZ253YoeOrw@mail.gmail.com">
<div dir="ltr">On 18 October 2017 at 22:07, Alejandro Hernandez <span
dir="ltr"><<a
href="mailto:alejandro.hernandez@linux.intel.com"
target="_blank" moz-do-not-send="true">alejandro.hernandez@linux.intel.com</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">@@ -77,8
+75,30 @@ do_install() {<br>
sed -i -e '1s|^#!.*|#!/usr/bin/env
python3|' $PYTHSCRIPT<br>
done<br>
<br>
- # Tests are large and we don't need them in the
native sysroot<br>
- rm ${D}${libdir}/python${PYTHON_<wbr>MAJMIN}/test
-rf<br>
+ # Add a symlink to the native Python so that
scripts can just invoke<br>
+ # "nativepython" and get the right one without
needing absolute paths<br>
+ # (these often end up too long for the #! parser
in the kernel as the<br>
+ # buffer is 128 bytes long).<br>
+ ln -s python3-native/python3
${D}${bindir}/nativepython3<br>
</blockquote>
<div><br>
</div>
<div>Is that rm of the tests redundant?</div>
<div><br>
</div>
<div>Ross</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>