From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: mikko.rapeli@linaro.org, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v3 1/3] systemd-boot-native: undelete but disable configure and compile tasks
Date: Wed, 05 Feb 2025 12:58:17 +0000 [thread overview]
Message-ID: <80da1f00553f9379ddbcd9af8c46bb5fb156f05f.camel@linuxfoundation.org> (raw)
In-Reply-To: <20250204141705.1222153-1-mikko.rapeli@linaro.org>
On Tue, 2025-02-04 at 16:17 +0200, Mikko Rapeli via
lists.openembedded.org wrote:
> The tasks were deleted and do_patch() was run after do_install()
> which means that patches applied in SRC_URI were not in the
> ukify.py binary installed. Mark the tasks as noexec since
> they don't need to do anything.
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> ---
> meta/recipes-core/systemd/systemd-boot-native_257.1.bb | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-core/systemd/systemd-boot-native_257.1.bb
> b/meta/recipes-core/systemd/systemd-boot-native_257.1.bb
> index 58db408dcf..5b4b63c294 100644
> --- a/meta/recipes-core/systemd/systemd-boot-native_257.1.bb
> +++ b/meta/recipes-core/systemd/systemd-boot-native_257.1.bb
> @@ -2,13 +2,12 @@ require systemd.inc
>
> inherit native
>
> -deltask do_configure
> -deltask do_compile
> +do_configure[noexec] = "1"
> +do_compile[noexec] = "1"
>
> do_install () {
> install -Dm 0755 ${S}/src/ukify/ukify.py ${D}${bindir}/ukify
> }
> -addtask install after do_unpack
I'm a little torn on this, we could fix it by changing do_unpack to
do_patch.
Using deltask is slightly more efficient in that it completely removes
a a node on the task graph rather than having it present and running
all the way up to just short of execution.
Cheers,
Richard
next prev parent reply other threads:[~2025-02-05 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 14:17 [PATCH v3 1/3] systemd-boot-native: undelete but disable configure and compile tasks Mikko Rapeli
2025-02-04 14:17 ` [PATCH v3 2/3] uki.bbclass: capture ukify command stdout and stderr Mikko Rapeli
2025-02-04 14:17 ` [PATCH v3 3/3] systemd-boot-native: fix kernel signature for secureboot Mikko Rapeli
2025-02-05 12:58 ` Richard Purdie [this message]
2025-02-06 7:29 ` [OE-core] [PATCH v3 1/3] systemd-boot-native: undelete but disable configure and compile tasks Mikko Rapeli
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=80da1f00553f9379ddbcd9af8c46bb5fb156f05f.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=mikko.rapeli@linaro.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.