]> code.ossystems Code Review - openembedded-core.git/commit
staging: Handle overlapping files for build-sysroot
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2017 10:06:35 +0000 (10:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2017 10:41:09 +0000 (10:41 +0000)
commite20343a90e401bc92167867729076d321081d120
treecae0f7fc9a330322969cf492c950b2cc65de13e8
parentbd7d0314038a4c1a8e8c9ebdb7194f8e17db3fef
staging: Handle overlapping files for build-sysroot

The use of bb.fatal means build-sysroots fails as soon as multiple gdb's are
built with overlapping files, or multiple recipes with overlapping headers
exist.

Change the fatal call into an exception which we can then trap. Also
avoid trying to call readlink on something with isn't a symlink.

This allows build-sysroots to work better under various scenarios.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass