diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 16:31:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:39 +0100 |
commit | 1fc840ffc0267ecf3a15c4a59ab44869ef1d6339 (patch) | |
tree | b2932a0d0d7146bde799db47497236063050fc84 /meta/lib/oe/package.py | |
parent | 22c8ed6484e0ee9328e3844c9e794f3d89ebb9f7 (diff) | |
download | poky-1fc840ffc0267ecf3a15c4a59ab44869ef1d6339.tar.gz |
meta: python3 megapatch
This needs splutting into smaller units, WIP atm.
(From OE-Core rev: 21529228a7dca96a6a1b44ed9380c523efdeeb3e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/package.py')
-rw-r--r-- | meta/lib/oe/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 252e32d1df..faa0ab2edb 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
@@ -8,7 +8,7 @@ def runstrip(arg): | |||
8 | # 8 - shared library | 8 | # 8 - shared library |
9 | # 16 - kernel module | 9 | # 16 - kernel module |
10 | 10 | ||
11 | import commands, stat, subprocess | 11 | import stat, subprocess |
12 | 12 | ||
13 | (file, elftype, strip) = arg | 13 | (file, elftype, strip) = arg |
14 | 14 | ||
@@ -64,8 +64,8 @@ def filedeprunner(arg): | |||
64 | 64 | ||
65 | def process_deps(pipe, pkg, pkgdest, provides, requires): | 65 | def process_deps(pipe, pkg, pkgdest, provides, requires): |
66 | for line in pipe: | 66 | for line in pipe: |
67 | f = line.split(" ", 1)[0].strip() | 67 | f = line.decode("utf-8").split(" ", 1)[0].strip() |
68 | line = line.split(" ", 1)[1].strip() | 68 | line = line.decode("utf-8").split(" ", 1)[1].strip() |
69 | 69 | ||
70 | if line.startswith("Requires:"): | 70 | if line.startswith("Requires:"): |
71 | i = requires | 71 | i = requires |