diff options
| -rw-r--r-- | meta/lib/oe/package.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 7a6b31957a..edb70daaf1 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
| @@ -8,7 +8,7 @@ import errno | |||
| 8 | import fnmatch | 8 | import fnmatch |
| 9 | import itertools | 9 | import itertools |
| 10 | import os | 10 | import os |
| 11 | import pipes | 11 | import shlex |
| 12 | import re | 12 | import re |
| 13 | import glob | 13 | import glob |
| 14 | import stat | 14 | import stat |
| @@ -41,7 +41,7 @@ def runstrip(arg): | |||
| 41 | 41 | ||
| 42 | stripcmd = [strip] | 42 | stripcmd = [strip] |
| 43 | skip_strip = False | 43 | skip_strip = False |
| 44 | # kernel module | 44 | # kernel module |
| 45 | if elftype & 16: | 45 | if elftype & 16: |
| 46 | if is_kernel_module_signed(file): | 46 | if is_kernel_module_signed(file): |
| 47 | bb.debug(1, "Skip strip on signed module %s" % file) | 47 | bb.debug(1, "Skip strip on signed module %s" % file) |
| @@ -1556,7 +1556,7 @@ def process_shlibs(pkgfiles, d): | |||
| 1556 | sonames = set() | 1556 | sonames = set() |
| 1557 | renames = [] | 1557 | renames = [] |
| 1558 | ldir = os.path.dirname(file).replace(pkgdest + "/" + pkg, '') | 1558 | ldir = os.path.dirname(file).replace(pkgdest + "/" + pkg, '') |
| 1559 | cmd = d.getVar('OBJDUMP') + " -p " + pipes.quote(file) + " 2>/dev/null" | 1559 | cmd = d.getVar('OBJDUMP') + " -p " + shlex.quote(file) + " 2>/dev/null" |
| 1560 | fd = os.popen(cmd) | 1560 | fd = os.popen(cmd) |
| 1561 | lines = fd.readlines() | 1561 | lines = fd.readlines() |
| 1562 | fd.close() | 1562 | fd.close() |
| @@ -2012,4 +2012,3 @@ def process_depchains(pkgfiles, d): | |||
| 2012 | for dep in bb.utils.explode_deps(d.getVar('RDEPENDS:' + base) or ""): | 2012 | for dep in bb.utils.explode_deps(d.getVar('RDEPENDS:' + base) or ""): |
| 2013 | add_dep(rdeps, dep) | 2013 | add_dep(rdeps, dep) |
| 2014 | pkg_addrrecs(pkg, base, suffix, func, rdeps, d) | 2014 | pkg_addrrecs(pkg, base, suffix, func, rdeps, d) |
| 2015 | |||
