From: "Joshua Watt" <JPEWhacker@gmail.com>
To: Steve Sakoman <steve@sakoman.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][dunfell 14/25] classes/archiver: run do_unpack_and_patch after do_preconfigure
Date: Mon, 6 Jul 2020 12:12:45 -0500 [thread overview]
Message-ID: <4d68fb48-b134-cba3-5500-59db0b3f2433@gmail.com> (raw)
In-Reply-To: <3c9dfa31c3ffcb882fb400f2513e14ae1d830ae6.1594050175.git.steve@sakoman.com>
[-- Attachment #1: Type: text/plain, Size: 1992 bytes --]
Steve,
Please also grab f02c190433 ("classes/archive: do_configure should not
depend on do_ar_patched") as it fixes a bug introduced by this patch
On 7/6/20 11:10 AM, Steve Sakoman wrote:
> From: Joshua Watt <JPEWhacker@gmail.com>
>
> 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
>
> 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>
> ---
> meta/classes/archiver.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
> index a8d3afcbe9..bf275f4543 100644
> --- a/meta/classes/archiver.bbclass
> +++ b/meta/classes/archiver.bbclass
> @@ -583,8 +583,8 @@ do_deploy_archives[sstate-outputdirs] = "${DEPLOY_DIR_SRC}"
> 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 before do_preconfigure do_configure
> +addtask do_unpack_and_patch after do_patch do_preconfigure
> +addtask do_ar_patched after do_unpack_and_patch before do_configure
> addtask do_ar_configured after do_unpack_and_patch
> addtask do_ar_mirror after do_fetch
> addtask do_dumpdata
>
>
[-- Attachment #2: Type: text/html, Size: 2760 bytes --]
next prev parent reply other threads:[~2020-07-06 17:12 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-06 16:10 [OE-core][dunfell 00/25] Patch review Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 01/25] libdrm: upgrade 2.4.100 -> 2.4.101 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 02/25] u-boot: support merging .cfg files for UBOOT_CONFIG Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 03/25] u-boot: avoid blind merging all *.cfg Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 04/25] kernel/yocto: ensure that defconfigs are processed first Steve Sakoman
2020-07-06 16:29 ` Bruce Ashfield
2020-07-06 16:38 ` Steve Sakoman
2020-07-22 21:27 ` Ryan Harkin
2020-07-23 1:58 ` Bruce Ashfield
2020-07-23 3:33 ` Steve Sakoman
2020-07-23 9:34 ` Ryan Harkin
2020-07-23 12:27 ` Bruce Ashfield
2020-07-23 13:38 ` Ryan Harkin
2020-07-23 15:04 ` Bruce Ashfield
2020-07-23 16:06 ` Ryan Harkin
2020-07-23 18:33 ` Andrey Zhizhikin
2020-07-23 20:46 ` Bruce Ashfield
2020-07-06 16:10 ` [OE-core][dunfell 05/25] linux-yocto/5.4: update to v5.4.45 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 06/25] linux-yocto-rt/5.4: update to rt25 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 07/25] linux-yocto/5.4: update to v5.4.46 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 08/25] linux-yocto/5.4: update to v5.4.47 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 09/25] linux-yocto/5.4: update to v5.4.49 and -rt28 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 10/25] modutils-initscripts: update postinst Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 11/25] initscripts: " Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 12/25] common-licenses: fix filename of BSD-2-Clause-Patent Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 13/25] python3-libarchive-c: add the missing rdepends Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 14/25] classes/archiver: run do_unpack_and_patch after do_preconfigure Steve Sakoman
2020-07-06 17:12 ` Joshua Watt [this message]
2020-07-06 18:48 ` Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 15/25] oescripts.py: fix typo Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 16/25] oescripts: ignore whitespaces when comparing lines Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 17/25] gtk-icon-cache.bbclass: add runtime dependency Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 18/25] oeqa/core/loader: refine regex to find module Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 19/25] oeqa/selftest: recipetool/devtool: Avoid load_plugin test race Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 20/25] oeqa/targetcontrol: Attempt to fix log closure warning message Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 21/25] logrotate.py: fix testimage occasionally failure Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 22/25] rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminated Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 23/25] sqlite3: Security fix for CVE-2020-15358 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 24/25] qemu: fix CVE-2020-10702/10761/13362/13659/13800 Steve Sakoman
2020-07-06 16:10 ` [OE-core][dunfell 25/25] python3: fix CVE-2020-14422 Steve Sakoman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4d68fb48-b134-cba3-5500-59db0b3f2433@gmail.com \
--to=jpewhacker@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=steve@sakoman.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox