aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/spdx.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2018-01-23 14:56:18 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-29 08:43:36 +0000
commit32895152580152c6613a4d651ba1bcee9be9883f (patch)
tree9c86f21acb96322311714adbc0774702f10fb212 /meta/classes/spdx.bbclass
parent4ff3897ce27fcfc1ba0dfec92e209f03ebc85bf4 (diff)
downloadopenembedded-core-32895152580152c6613a4d651ba1bcee9be9883f.tar.gz
uninative.bbclass: Fix broken symlink issue
If two builds are sharing the same DL_DIR, and the uninative file is local to a layer. When the first build gets to uninative it creates the link local to itself, and subsequent users can use the same link. However if that first build then is deleted from the disk, the symlink is no longer valid (broken). We need to update the system to detect this case, and use the model implemented by the bitbke fetch2 code. Look for a broken link, remove it, then try to create the link and ignore an exception if it already exists (since we just unlinked any bad one). Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bfd9664edad7044b5da53fc33b8d0f6508f00950) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/classes/spdx.bbclass')
0 files changed, 0 insertions, 0 deletions