diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3-native_3.5.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-native_3.5.2.bb b/meta/recipes-devtools/python/python3-native_3.5.2.bb index 7ac3942831..bf4e6860fa 100644 --- a/meta/recipes-devtools/python/python3-native_3.5.2.bb +++ b/meta/recipes-devtools/python/python3-native_3.5.2.bb | |||
@@ -98,4 +98,7 @@ do_install() { | |||
98 | for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do | 98 | for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do |
99 | sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT | 99 | sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT |
100 | done | 100 | done |
101 | |||
102 | # Tests are large and we don't need them in the native sysroot | ||
103 | rm ${D}${libdir}/python${PYTHON_MAJMIN}/test -rf | ||
101 | } | 104 | } |