Patchwork [2/2] copyleft_compliance: force the symlink creation

login
register
mail settings
Submitter Gilbert Coville
Date Dec. 31, 2012, 6:47 p.m.
Message ID <1356979656-998-2-git-send-email-gilbert_coville@mentor.com>
Download mbox | patch
Permalink /patch/41843/
State Accepted
Commit 74b82fd4cc3e5eec611800935f1c89db3bac9971
Headers show

Comments

Gilbert Coville - Dec. 31, 2012, 6:47 p.m.
From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Gilbert Coville <gilbert_coville@mentor.com>
---
 meta/classes/copyleft_compliance.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/copyleft_compliance.bbclass b/meta/classes/copyleft_compliance.bbclass
index 786cf1e..06b0227 100644
--- a/meta/classes/copyleft_compliance.bbclass
+++ b/meta/classes/copyleft_compliance.bbclass
@@ -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: