diff options
-rw-r--r-- | meta/classes/package.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 2c44fc1f0d..472d542b11 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1210,7 +1210,8 @@ python populate_packages () { | |||
1210 | src = os.path.join(src, p) | 1210 | src = os.path.join(src, p) |
1211 | dest = os.path.join(dest, p) | 1211 | dest = os.path.join(dest, p) |
1212 | fstat = cpath.stat(src) | 1212 | fstat = cpath.stat(src) |
1213 | os.mkdir(dest, fstat.st_mode) | 1213 | os.mkdir(dest) |
1214 | os.chmod(dest, fstat.st_mode) | ||
1214 | os.chown(dest, fstat.st_uid, fstat.st_gid) | 1215 | os.chown(dest, fstat.st_uid, fstat.st_gid) |
1215 | if p not in seen: | 1216 | if p not in seen: |
1216 | seen.append(p) | 1217 | seen.append(p) |