summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2013-07-22 16:52:15 +0200
committerSaul Wold <sgw@linux.intel.com>2013-07-25 23:44:27 -0700
commitfd2c0af422d67da870a5a11720d06a871e660215 (patch)
tree81384647f8d09c4012399810d1da8c139c16fbc5 /meta
parentd054da760deda0c965619372209b50f8db964e1c (diff)
downloadopenembedded-core-fd2c0af422d67da870a5a11720d06a871e660215.tar.gz
openembedded-core-fd2c0af422d67da870a5a11720d06a871e660215.tar.bz2
openembedded-core-fd2c0af422d67da870a5a11720d06a871e660215.zip
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 Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass2
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):
processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | "
# We need to ignore files that are not actually ours
# we do this by only paying attention to items from this package
- processdebugsrc += "fgrep -z '%s' | "
+ processdebugsrc += "fgrep -zw '%s' | "
processdebugsrc += "(cd '%s' ; cpio -pd0mlL --no-preserve-owner '%s%s' 2>/dev/null)"
cmd = processdebugsrc % (sourcefile, workbasedir, workparentdir, dvar, debugsrcdir)