summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/package.py')
-rw-r--r--meta/lib/oe/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index db8dc28fd3..f8b532220a 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -30,8 +30,7 @@ def runstrip(arg):
30 elif elftype & 8 or elftype & 4: 30 elif elftype & 8 or elftype & 4:
31 extraflags = "--remove-section=.comment --remove-section=.note" 31 extraflags = "--remove-section=.comment --remove-section=.note"
32 32
33 # Use mv to break hardlinks 33 stripcmd = "'%s' %s '%s'" % (strip, extraflags, file)
34 stripcmd = "'%s' %s '%s' -o '%s.tmp' && chown --reference='%s' '%s.tmp' && mv '%s.tmp' '%s'" % (strip, extraflags, file, file, file, file, file, file)
35 bb.debug(1, "runstrip: %s" % stripcmd) 34 bb.debug(1, "runstrip: %s" % stripcmd)
36 35
37 ret = subprocess.call(stripcmd, shell=True) 36 ret = subprocess.call(stripcmd, shell=True)