summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-20 11:56:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:00 +0100
commit642a997adee8f12ed640a03ead8fdd73ca0f6ab1 (patch)
tree7073db3254086641b0a33459ed897c6c5f6fab7c /meta/recipes-core/meta
parent44e9a0d2fa759dea281fc32b602cd7878000c277 (diff)
downloadpoky-642a997adee8f12ed640a03ead8fdd73ca0f6ab1.tar.gz
classes/lib: Update xrange -> range for python3
xrange() no longer exists in python 3, use range() (From OE-Core rev: d022b4335100612d6596cc4c4956cb98ed5873cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/meta')
-rw-r--r--meta/recipes-core/meta/uninative-tarball.bb2
1 files changed, 1 insertions, 1 deletions
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() {
50 DEST="./${SDK_ARCH}-${SDK_OS}" 50 DEST="./${SDK_ARCH}-${SDK_OS}"
51 mv sysroots/${SDK_SYS} $DEST 51 mv sysroots/${SDK_SYS} $DEST
52 rm sysroots -rf 52 rm sysroots -rf
53 patchelf --set-interpreter ${@''.join('a' for n in xrange(1024))} $DEST/usr/bin/patchelf 53 patchelf --set-interpreter ${@''.join('a' for n in range(1024))} $DEST/usr/bin/patchelf
54 mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative 54 mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative
55 tar ${SDKTAROPTS} -c -j --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . 55 tar ${SDKTAROPTS} -c -j --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
56} 56}