Skip to content

Handle errors during license hard-links

Manuel Huber poky 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Handle EXDEV if hard link to license failsmeta/classes/license.bbclass+15 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Handle errors during license hard-links

This might be a real corner case I hit:

I'm using docker for building poky with separate volumes for source code (poky and all layers) and the actual build result. Poky tries to create hard links for licenses depending on st_dev. But unfortunately across docker volumes the number might be the same (0) but creating hard links still fails with EXDEV.

The following changes since commit 40e789d1fee7f0df2d23230fff38325119ad2935:

bitbake: lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF (2016-06-09 18:00:58 +0100)

are available in the git repository at:

git://github.com/boon-code/poky bugfix/master/Fix-license-copy-in-docker
https://github.com/boon-code/poky/tree/bugfix/master/Fix-license-copy-in-docker

Manuel Huber (1):
Handle EXDEV if hard link to license fails

 meta/classes/license.bbclass | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)
Signature · 1 line
2.5.0