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 47805d02cf..5f5767c1da 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -864,7 +864,7 @@ def copyfile(src, dest, newmtime = None, sstat = None):
864 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]): 864 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]):
865 os.unlink(dest) 865 os.unlink(dest)
866 os.symlink(target, dest) 866 os.symlink(target, dest)
867 #os.lchown(dest,sstat[stat.ST_UID],sstat[stat.ST_GID]) 867 os.lchown(dest,sstat[stat.ST_UID],sstat[stat.ST_GID])
868 return os.lstat(dest) 868 return os.lstat(dest)
869 except Exception as e: 869 except Exception as e:
870 logger.warning("copyfile: failed to create symlink %s to %s (%s)" % (dest, target, e)) 870 logger.warning("copyfile: failed to create symlink %s to %s (%s)" % (dest, target, e))