mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 15:32:13 +02:00
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 (From OE-Core rev: 8a7c7794870815030239e90b03e37ed302b7e885) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5e208e0ff4
commit
7a57e77759
@@ -583,7 +583,7 @@ addtask do_deploy_archives_setscene
|
||||
|
||||
addtask do_ar_original after do_unpack
|
||||
addtask do_unpack_and_patch after do_patch
|
||||
addtask do_ar_patched after do_unpack_and_patch
|
||||
addtask do_ar_patched after do_unpack_and_patch before do_preconfigure do_configure
|
||||
addtask do_ar_configured after do_unpack_and_patch
|
||||
addtask do_ar_mirror after do_fetch
|
||||
addtask do_dumpdata
|
||||
|
||||
Reference in New Issue
Block a user