]> code.ossystems Code Review - openembedded-core.git/commitdiff
copyleft_compliance: force the symlink creation
authorChristopher Larson <chris_larson@mentor.com>
Mon, 31 Dec 2012 18:47:36 +0000 (12:47 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jan 2013 14:38:08 +0000 (14:38 +0000)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Gilbert Coville <gilbert_coville@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/copyleft_compliance.bbclass

index 786cf1e9c7edb8e8d3fd169e8930f77a5711a61d..06b02278d3a39e5e470853d14611ee1de3342b1e 100644 (file)
@@ -45,7 +45,7 @@ python do_prepare_copyleft_sources () {
             if os.path.exists(tarball_path):
                 local = tarball_path
 
-        os.symlink(local, os.path.join(dest, os.path.basename(local)))
+        oe.path.symlink(local, os.path.join(dest, os.path.basename(local)), force=True)
 
     patches = src_patches(d)
     for patch in patches: