diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-07-22 16:52:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-29 13:09:00 +0100 |
commit | 054b932f7bb8b9c49a5663dfb6f32ae90d4a6046 (patch) | |
tree | 738bea72046ef12a837fd17e6c7589f3279c5f85 /meta/classes/package.bbclass | |
parent | 3f7e8ad53e27b441125d232a387acb838e3feffd (diff) | |
download | poky-054b932f7bb8b9c49a5663dfb6f32ae90d4a6046.tar.gz |
package.bbclass: avoid packing debug sources from other packages
The error case was gcc-dbg packing files from libgcc-dbg reported in [1]
[1] http://lists.openembedded.org/pipermail/openembedded-core/2013-July/080728.html
(From OE-Core rev: fd2c0af422d67da870a5a11720d06a871e660215)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 5c2d1c6553..2460d0ac62 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -307,7 +307,7 @@ def copydebugsources(debugsrcdir, d): | |||
307 | processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | " | 307 | processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | " |
308 | # We need to ignore files that are not actually ours | 308 | # We need to ignore files that are not actually ours |
309 | # we do this by only paying attention to items from this package | 309 | # we do this by only paying attention to items from this package |
310 | processdebugsrc += "fgrep -z '%s' | " | 310 | processdebugsrc += "fgrep -zw '%s' | " |
311 | processdebugsrc += "(cd '%s' ; cpio -pd0mlL --no-preserve-owner '%s%s' 2>/dev/null)" | 311 | processdebugsrc += "(cd '%s' ; cpio -pd0mlL --no-preserve-owner '%s%s' 2>/dev/null)" |
312 | 312 | ||
313 | cmd = processdebugsrc % (sourcefile, workbasedir, workparentdir, dvar, debugsrcdir) | 313 | cmd = processdebugsrc % (sourcefile, workbasedir, workparentdir, dvar, debugsrcdir) |