From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: adrian.freihofer@gmail.com, openembedded-core@lists.openembedded.org
Cc: Adrian Freihofer <adrian.freihofer@siemens.com>
Subject: Re: [OE-core] [PATCH 3/3] devtool: remove obsolete SRCTREECOVEREDTASKS handling
Date: Tue, 03 Sep 2024 07:15:46 +0100 [thread overview]
Message-ID: <a3f27a205be6de32831548d12be2e019ac9f3371.camel@linuxfoundation.org> (raw)
In-Reply-To: <20240902203154.265515-3-adrian.freihofer@gmail.com>
On Mon, 2024-09-02 at 22:31 +0200, Adrian Freihofer via lists.openembedded.org wrote:
> From: Adrian Freihofer <adrian.freihofer@siemens.com>
>
> The kernel-yocto.bbclass defines some tasks tasks and it also adds these
> tasks to the SRCTREECOVEREDTASKS list. There is no need for devtool to
> duplicate this code and override what the kernel-yocto.bbclass already
> does.
>
> devtool modify generates a linux-yocto.6.6.bbappend containing:
> SRCTREECOVEREDTASKS="\
> do_fetch \
> do_kernel_checkout \
> do_kernel_configcheck \
> do_unpack \
> do_validate_branches \
> "
> do_patch[noexec] = "1"
>
> linux-yocto set SRCTREECOVEREDTASKS to
> SRCTREECOVEREDTASKS="\
> do_fetch \
> do_kernel_checkout \
> do_kernel_configcheck \
> do_patch \
> do_unpack \
> do_validate_branches \
> "
>
> The code in devtool modify is therefore considered as redundant and
> removed.
>
> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> ---
> scripts/lib/devtool/standard.py | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
> index 312eb8ab506..b2e1a6ca3a5 100644
> --- a/scripts/lib/devtool/standard.py
> +++ b/scripts/lib/devtool/standard.py
> @@ -952,9 +952,6 @@ def modify(args, config, basepath, workspace):
> f.write('EXTERNALSRC_BUILD:pn-%s = "%s"\n' % (pn, srctree))
>
> if bb.data.inherits_class('kernel', rd):
> - f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout '
> - 'do_fetch do_unpack do_kernel_configcheck"\n')
> - f.write('\ndo_patch[noexec] = "1"\n')
> f.write('\ndo_kernel_configme:prepend() {\n'
> ' if [ -e ${S}/.config ]; then\n'
> ' mv ${S}/.config ${S}/.config.old\n'
Note that "kernel" != "linux-yocto". Does a standard kernel still need fetch/unpack?
Cheers,
Richard
next prev parent reply other threads:[~2024-09-03 6:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-02 20:31 [PATCH 1/3] uboot-config: fix devtool modify with kernel-fitimage Adrian Freihofer
2024-09-02 20:31 ` [PATCH 2/3] devtool: modify kernel adds append twice Adrian Freihofer
2024-09-02 20:31 ` [PATCH 3/3] devtool: remove obsolete SRCTREECOVEREDTASKS handling Adrian Freihofer
2024-09-03 6:15 ` Richard Purdie [this message]
2024-09-03 19:33 ` [OE-core] " Adrian Freihofer
2024-09-03 8:21 ` [OE-core] [PATCH 1/3] uboot-config: fix devtool modify with kernel-fitimage Richard Purdie
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=a3f27a205be6de32831548d12be2e019ac9f3371.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=adrian.freihofer@gmail.com \
--cc=adrian.freihofer@siemens.com \
--cc=openembedded-core@lists.openembedded.org \
/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