diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-06-30 21:49:23 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-16 22:28:40 +0100 |
commit | 854b876c25e98b21893bf39290890f68f09e30ac (patch) | |
tree | 9231e60423741028ebcb3edc353c50cfbf64cf36 /scripts/task-time | |
parent | 31a7824665ccc90c8a7ff01a7edcafea64a4fcb2 (diff) | |
download | poky-854b876c25e98b21893bf39290890f68f09e30ac.tar.gz |
classes/archiver: run do_unpack_and_patch after do_preconfigure
The commit 8a7c779487 ("classes/archiver: Create patched archive before
configuring") fixed a race condition when using the archiver, but
introduced a bug where the GCC source would occasionally be deleted due
to the archiving code running before do_preconfigure. Instead, make sure
the archiving code runs after do_preconfigure by making
do_unpack_and_patch depend on it. This makes more sense anyway since
do_preconfigure is effectively an extension of do_patch.
This fixes errors like:
cat: .../gcc/defaults.h: No such file or directory
when making certain configuration changes
(From OE-Core rev: b6d4176f82b9728af91a4b982ca25fbbee5f9890)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4be264061023ae0ea6e023d82a7b99605bfc22c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/task-time')
0 files changed, 0 insertions, 0 deletions