diff options
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index e3f0a7060b..cf30f33f3d 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1049,7 +1049,7 @@ python fixup_perms () { | |||
1049 | # Create path to move directory to, move it, and then setup the symlink | 1049 | # Create path to move directory to, move it, and then setup the symlink |
1050 | bb.utils.mkdirhier(os.path.dirname(target)) | 1050 | bb.utils.mkdirhier(os.path.dirname(target)) |
1051 | #bb.note("Fixup Perms: Rename %s -> %s" % (dir, ptarget)) | 1051 | #bb.note("Fixup Perms: Rename %s -> %s" % (dir, ptarget)) |
1052 | os.rename(origin, target) | 1052 | bb.utils.rename(origin, target) |
1053 | #bb.note("Fixup Perms: Link %s -> %s" % (dir, link)) | 1053 | #bb.note("Fixup Perms: Link %s -> %s" % (dir, link)) |
1054 | os.symlink(link, origin) | 1054 | os.symlink(link, origin) |
1055 | 1055 | ||
@@ -1967,7 +1967,7 @@ python package_do_shlibs() { | |||
1967 | 1967 | ||
1968 | for (old, new) in renames: | 1968 | for (old, new) in renames: |
1969 | bb.note("Renaming %s to %s" % (old, new)) | 1969 | bb.note("Renaming %s to %s" % (old, new)) |
1970 | os.rename(old, new) | 1970 | bb.utils.rename(old, new) |
1971 | pkgfiles[pkg].remove(old) | 1971 | pkgfiles[pkg].remove(old) |
1972 | 1972 | ||
1973 | shlibs_file = os.path.join(shlibswork_dir, pkg + ".list") | 1973 | shlibs_file = os.path.join(shlibswork_dir, pkg + ".list") |