aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-26 11:42:12 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-31 16:57:35 +1300
commite1af68e680f3fbf20d7b0a8c55802a9cdd3f404b (patch)
treeedb8798d7c3e6f02cd8ad42e841da348f75a7f16 /scripts/lib
parentb18fa5f2f2f46afc6fdc58f4d29679dea9c36c43 (diff)
downloadopenembedded-core-contrib-e1af68e680f3fbf20d7b0a8c55802a9cdd3f404b.tar.gz
classes/license: fix handling of symlinks pointed to in LIC_FILES_CHKSUM
If you set LIC_FILES_CHKSUM to point to a relative symlink then you'll get "Could not copy license file" warnings in copy_license_files() since the symlink won't be valid after it's copied. If the source is a symlink then we need to dereference it first. I encountered this when I used recipetool on the sources for capnproto, where the c++ directory contains a LICENSE.txt symlink to the LICENSE file in the parent directory, and this symlink ends up being pointed to in LIC_FILES_CHKSUM. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions