]> code.ossystems Code Review - openembedded-core.git/commit
classes/license: handle EXDEV if hard link to license fails
authorManuel Huber <Manuel.h87@gmail.com>
Sat, 11 Jun 2016 07:50:02 +0000 (09:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Jun 2016 16:36:37 +0000 (17:36 +0100)
commitc00423d6bab9849e331beadf4d3cee90e04fe295
tree4b40b855d85b49365e36cb533eee7e8feb739891
parent6025a14dbbd09b2805fe2e17ddc24f2a515cb832
classes/license: handle EXDEV if hard link to license fails

Hard links can still fail even if st_dev is the same for source
and destination. In case of EXDEV error, fall back to copying.

Signed-off-by: Manuel Huber <manuel.h87@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/license.bbclass