public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][kirkstone 27/31] image.bbclass: allow overriding dependency on virtual/kernel:do_deploy
Date: Tue, 17 May 2022 08:24:13 -1000	[thread overview]
Message-ID: <4caf244256e150fea19cd4f2ca04c13d95d49fee.1652811454.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1652811454.git.steve@sakoman.com>

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>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55875f68212657167ac6dc26f5fd93eac24b098e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 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 7f1f6f80a4..2139a7e576 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 follows many common usecases and user expectations.
+# But if you are building an image which doesn't need the kernel image at all,
+# you can unset this variable manually.
+KERNEL_DEPLOY_DEPEND ?= "virtual/kernel:do_deploy"
+do_build[depends] += "${KERNEL_DEPLOY_DEPEND}"
 
 
 python () {
-- 
2.25.1



  parent reply	other threads:[~2022-05-17 18:25 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17 18:23 [OE-core][kirkstone 00/31] Patch review Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 01/31] freetype: backport patch for CVE-2022-27404 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 02/31] freetype: backport patch for CVE-2022-27405 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 03/31] freetype: backport patch for CVE-2022-27406 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 04/31] qemu: backport patch for CVE-2021-4206 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 05/31] qemu: backport patch for CVE-2021-4207 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 06/31] systemd: upgrade 250.4 -> 250.5 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 07/31] systemd: Fix build regression with latest update Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 08/31] mesa: upgrade 22.0.0 -> 22.0.2 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 09/31] bind: upgrade 9.18.1 -> 9.18.2 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 10/31] cronie: upgrade 1.6.0 -> 1.6.1 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 11/31] epiphany: upgrade 42.0 -> 42.2 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 12/31] ffmpeg: upgrade 5.0 -> 5.0.1 Steve Sakoman
2022-05-17 18:23 ` [OE-core][kirkstone 13/31] fribidi: upgrade 1.0.11 -> 1.0.12 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 14/31] libinput: upgrade 1.19.3 -> 1.19.4 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 15/31] sqlite3: upgrade 3.38.2 -> 3.38.3 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 16/31] webkitgtk: upgrade 2.36.0 -> 2.36.1 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 17/31] xwayland: upgrade 22.1.0 -> 22.1.1 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 18/31] libxml2: Upgrade 2.9.13 -> 2.9.14 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 19/31] vim: Upgrade 8.2.4681 -> 8.2.4912 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 20/31] linux-firmware: replace mkdir by install Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 21/31] linux-firmware: upgrade 20220411 -> 20220509 Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 22/31] cairo: Add missing GPLv3 license checksum entry Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 23/31] pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 24/31] wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 25/31] e2fsprogs: update upstream status Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 26/31] overlayfs: add docs about skipping QA check & service dependencies Steve Sakoman
2022-05-17 18:24 ` Steve Sakoman [this message]
2022-05-17 18:24 ` [OE-core][kirkstone 28/31] sanity: Don't warn about make 4.2.1 for mint Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 29/31] sed: Specify shell for "nobody" user in run-ptest Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 30/31] strace: Don't run ptest as "nobody" Steve Sakoman
2022-05-17 18:24 ` [OE-core][kirkstone 31/31] base-passwd: Disable shell for default users 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=4caf244256e150fea19cd4f2ca04c13d95d49fee.1652811454.git.steve@sakoman.com \
    --to=steve@sakoman.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