diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/package.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index ea94f89253..6c61f7bdda 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -485,8 +485,9 @@ python populate_packages () { if file in seen: continue seen.append(file) - if os.path.isdir(file): + if os.path.isdir(file) and not os.path.islink(file): bb.mkdirhier(os.path.join(root,file)) + os.chmod(os.path.join(root,file), os.stat(file).st_mode) continue fpath = os.path.join(root,file) dpath = os.path.dirname(fpath) |