[poky] [Errno 18] Invalid cross-device link warning coming from license file copy

Richard Purdie richard.purdie at linuxfoundation.org
Tue Aug 25 07:12:10 PDT 2015


On Wed, 2015-08-19 at 15:48 +0300, matti kaasinen wrote:
> Is there any way of getting rid of warnings of following type:
> 
> WARNING: Could not copy license file /YOCTO/poky/LICENSE
> to /XXX/work/am335x_evm-poky-linux-gnueabi/xxxx-image/1.0-r0/license-destdir/xxx-image/LICENSE: [Errno 18] Invalid cross-device link
> 
> 
> Yes, sources and results are located on different logical drives, but
> should it still be possible to copy files between them. Everything
> else works fine in bitbaking.

Can you be a little more clear about what you did please? I assume you
changed TMPDIR to point to a different disk to the one where the poky
checkout is located?

I'm still a little puzzled about why the existing check doesn't catch
the fact they're different disks...

Cheers,

Richard




More information about the poky mailing list