From d022b4335100612d6596cc4c4956cb98ed5873cc Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 20 May 2016 11:56:05 +0100 Subject: classes/lib: Update xrange -> range for python3 xrange() no longer exists in python 3, use range() Signed-off-by: Richard Purdie --- meta/recipes-core/meta/uninative-tarball.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/meta/uninative-tarball.bb') diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb index a983e42c67..fb147a17f7 100644 --- a/meta/recipes-core/meta/uninative-tarball.bb +++ b/meta/recipes-core/meta/uninative-tarball.bb @@ -50,7 +50,7 @@ fakeroot tar_sdk() { DEST="./${SDK_ARCH}-${SDK_OS}" mv sysroots/${SDK_SYS} $DEST rm sysroots -rf - patchelf --set-interpreter ${@''.join('a' for n in xrange(1024))} $DEST/usr/bin/patchelf + patchelf --set-interpreter ${@''.join('a' for n in range(1024))} $DEST/usr/bin/patchelf mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative tar ${SDKTAROPTS} -c -j --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . } -- cgit 1.2.3-korg