aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
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:45:36 +0000
commit553a8010e81448629a94ab04fd989e6e49066f2b (patch)
tree4a1e40b628d88beb1fe2f9847e762dc7c10ed409 /meta/classes
parentd60aec3f5b319f4583fa72a8357b9ddd3be62b1a (diff)
downloadopenembedded-core-contrib-553a8010e81448629a94ab04fd989e6e49066f2b.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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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):
if not cpath.exists(basepath):
nosuchdir.append(basepath)
bb.utils.mkdirhier(basepath)
+ cpath.updatecache(basepath)
processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | "
# We need to ignore files that are not actually ours