[oe-commits] Christopher Larson : copyleft_compliance: force the symlink creation
git at git.openembedded.org
git at git.openembedded.org
Mon Jan 7 14:45:50 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 74b82fd4cc3e5eec611800935f1c89db3bac9971
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=74b82fd4cc3e5eec611800935f1c89db3bac9971
Author: Christopher Larson <chris_larson at mentor.com>
Date: Mon Dec 31 12:47:36 2012 -0600
copyleft_compliance: force the symlink creation
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Gilbert Coville <gilbert_coville at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/copyleft_compliance.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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:
More information about the Openembedded-commits
mailing list