mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
python3-native: Remove tests to save copying uneeded files around
Removing these nearly halves the python3-native disk footprint meaning more optimal sysroot operations. We don't need these tests for anything. (From OE-Core rev: 5c8dda390cacef69bc7996eb26099d55e2b8427b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -98,4 +98,7 @@ do_install() {
|
|||||||
for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
|
for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
|
||||||
sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
|
sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Tests are large and we don't need them in the native sysroot
|
||||||
|
rm ${D}${libdir}/python${PYTHON_MAJMIN}/test -rf
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user