summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-26 15:37:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-26 17:50:08 +0000
commit3a78a23e767e9f3e70659ce26a4b03187e72241d (patch)
treea687e682b746a94f2e719ed7f1b58423884c173f /meta/classes/package.bbclass
parentf36926a264190e6202830e8520b41b30ae77ea43 (diff)
downloadpoky-3a78a23e767e9f3e70659ce26a4b03187e72241d.tar.gz
package.bbclass: Correctly handle /usr/src/debug file ownership
After the recent cached path operation improvements, we need to tell the cache about directory changes. /usr/src/debug was was cached as not created and this was leading to bugs in file ownership. This change updates the cache and avoids this issue. (From OE-Core rev: 553a8010e81448629a94ab04fd989e6e49066f2b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 447a74bcb7..3479947141 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -302,6 +302,7 @@ def copydebugsources(debugsrcdir, d):
302 if not cpath.exists(basepath): 302 if not cpath.exists(basepath):
303 nosuchdir.append(basepath) 303 nosuchdir.append(basepath)
304 bb.utils.mkdirhier(basepath) 304 bb.utils.mkdirhier(basepath)
305 cpath.updatecache(basepath)
305 306
306 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>)$' | "
307 # We need to ignore files that are not actually ours 308 # We need to ignore files that are not actually ours