diff options
-rw-r--r-- | meta/classes/package.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index d6204cfee5..81acc10367 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1152,9 +1152,6 @@ python populate_packages () { | |||
1152 | fpath = os.path.join(root,file) | 1152 | fpath = os.path.join(root,file) |
1153 | if not cpath.islink(file): | 1153 | if not cpath.islink(file): |
1154 | os.link(file, fpath) | 1154 | os.link(file, fpath) |
1155 | fstat = cpath.stat(file) | ||
1156 | os.chmod(fpath, fstat.st_mode) | ||
1157 | os.chown(fpath, fstat.st_uid, fstat.st_gid) | ||
1158 | continue | 1155 | continue |
1159 | ret = bb.utils.copyfile(file, fpath) | 1156 | ret = bb.utils.copyfile(file, fpath) |
1160 | if ret is False or ret == 0: | 1157 | if ret is False or ret == 0: |