python-smartpm: Have native smart use nativepython
PATCH 1/1 python-smartpm: Have native smart use nativepython
Currently when trying to use smart via devshell or in the bitbake environment, it will fail without inheriting pythonnative. Since the native tools should "just work" use nativepython in the shebang line for smart.
--- meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python-smartpm_1.4.1.bb +1 -0
@@ -110,6 +110,7 @@ add_native_wrapper() { } do_install_append_class-native() { + sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/smart add_native_wrapper }
Signature · 1 line
2.4.3
Quoted 5 lines · Randy Witt
Currently when trying to use smart via devshell or in the bitbake environment, it will fail without inheriting pythonnative. Since the native tools should "just work" use nativepython in the shebang line for smart.
smart was recently upgraded to 1.5, can you rebase this please?
Cheers,
Ross
PATCH v2 1/1 python-smartpm: Have native smart use nativepython
In reply to Randy WittCurrently when trying to use smart via devshell or in the bitbake environment, it will fail without inheriting pythonnative. Since the native tools should "just work" use nativepython in the shebang line for smart.
--- meta/recipes-devtools/python/python-smartpm_git.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python-smartpm_git.bb +1 -0
@@ -97,6 +97,7 @@ add_native_wrapper() { } do_install_append_class-native() { + sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/smart add_native_wrapper }
Signature · 1 line
2.4.3