[meta-ti] [PATCH] Fix Python3 build issues
Denys Dmytriyenko
denys at ti.com
Mon Oct 3 10:53:46 PDT 2016
Thanks! But I already have this in my queue along with other fixes for master
that I've been working on. Sorry I haven't posted those earlier, but I'm still
fighting couple remaining issues in related layers...
--
Denys
On Sat, Oct 01, 2016 at 02:42:37PM +0200, Thomas Perrot wrote:
> Signed-off-by: Thomas Perrot <thomas.perrot at tupi.fr>
> ---
> recipes-ti/includes/ti-unpack.inc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-ti/includes/ti-unpack.inc b/recipes-ti/includes/ti-unpack.inc
> index 9101044..481e598 100644
> --- a/recipes-ti/includes/ti-unpack.inc
> +++ b/recipes-ti/includes/ti-unpack.inc
> @@ -48,7 +48,7 @@ python ti_bin_do_unpack() {
> cmd_list = cmd_string.split( ":" )
>
> # Make the InstallJammer binary executable so we can run it
> - os.chmod(binfile, 0755)
> + os.chmod(binfile, 0o755)
>
> # Run the InstallJammer binary and accept the EULA
> filename = "HOME=%s ./%s %s" % (workdir, binfile, arg_string)
> @@ -74,7 +74,7 @@ python ti_bin_do_unpack() {
> tarfile = bb.data.expand(tarfile, localdata)
> tcmd = 'tar x --no-same-owner -f %s -C %s' % (tarfile, workdir)
> if os.system(tcmd) != 0:
> - print "ERROR: ti-eula-unpack: failed to extract tarfile"
> + print("ERROR: ti-eula-unpack: failed to extract tarfile")
> raise bb.build.FuncFailed()
>
> # Return to the previous directory
> --
> 2.9.3
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list