From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: "Dmitry Baryshkov" <dbaryshkov@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2] image.bbclass: allow overriding dependency on virtual/kernel:do_deploy
Date: Wed, 11 May 2022 09:37:56 +0200 [thread overview]
Message-ID: <20220511093756.6b0db279@melee> (raw)
In-Reply-To: <20220510154327.2436624-1-dmitry.baryshkov@linaro.org>
Hi Dmitry,
Il giorno Tue, 10 May 2022 18:43:27 +0300
"Dmitry Baryshkov" <dbaryshkov@gmail.com> ha scritto:
> From: Dmitry Baryshkov <dbaryshkov@gmail.com>
>
> Since the commit fe26b2379ecd ("image.bbclass: Depend on
> virtual/kernel:do_deploy"), the image.bbclass made building images
> depend on virtual/kernel. For some images, including small initramfs,
> this is not the case. Allow overriding this dependency in case
> developers knows what they are doing.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>
> Changes since v1:
> - Use the same variable in both lines
> - Change the var name to KERNEL_DEPLOY_DEPEND as suggested in the
> revert message.
>
> ---
> meta/classes/image.bbclass | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 7f1f6f80a464..c4051961c030 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -132,7 +132,12 @@ def rootfs_variables(d):
>
> do_rootfs[vardeps] += "${@rootfs_variables(d)}"
>
> -do_build[depends] += "virtual/kernel:do_deploy"
> +# This is needed to have kernel image in DEPLOY_DIR.
> +# This follow many common usecases and user expectations.
Typo: follow -> follows.
I'm taking this patch for testing and I fixed the typo while doing
that. Please fix it on your side in case you need to send another
version.
Kind regards.
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2022-05-11 7:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-10 15:43 [PATCH v2] image.bbclass: allow overriding dependency on virtual/kernel:do_deploy Dmitry Baryshkov
2022-05-11 7:37 ` Luca Ceresoli [this message]
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=20220511093756.6b0db279@melee \
--to=luca.ceresoli@bootlin.com \
--cc=dbaryshkov@gmail.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