summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 7aaf9309bd..95e73f2241 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -855,7 +855,7 @@ def copyfile(src, dest, newmtime = None, sstat = None):
855 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]): 855 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]):
856 os.unlink(dest) 856 os.unlink(dest)
857 os.symlink(target, dest) 857 os.symlink(target, dest)
858 #os.lchown(dest,sstat[stat.ST_UID],sstat[stat.ST_GID]) 858 os.lchown(dest,sstat[stat.ST_UID],sstat[stat.ST_GID])
859 return os.lstat(dest) 859 return os.lstat(dest)
860 except Exception as e: 860 except Exception as e:
861 logger.warning("copyfile: failed to create symlink %s to %s (%s)" % (dest, target, e)) 861 logger.warning("copyfile: failed to create symlink %s to %s (%s)" % (dest, target, e))