Skip to content
Commit fdd06278 authored by Joshua Watt's avatar Joshua Watt Committed by Steve Sakoman
Browse files

classes/archiver: Create patched archive before configuring



do_configure and do_preconfigure can modify source files, which causes
race conditions if these tasks run in parallel with do_ar_patched. Add
explicit task dependencies to ensure that do_ar_patched finishes before
these tasks start. Specifically, this fixes a race condition with
gcc-source where do_ar_patched races with do_preconfigure deleting
gcc/gengtype-lex.c

Signed-off-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a7c7794)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent f5b7bb5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment