[OE-core] [PATCH 2/2] copyleft_compliance: force the symlink creation

Gilbert Coville gilbert_coville at mentor.com
Mon Dec 31 18:47:36 UTC 2012


From: Christopher Larson <chris_larson at mentor.com>

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

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:
-- 
1.8.0





More information about the Openembedded-core mailing list