mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user