1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

image.bbclass: allow overriding dependency on virtual/kernel:do_deploy

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.

(From OE-Core rev: dcf9dfa4e6305786cd713aa28deda94a50bd6635)

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>
This commit is contained in:
Dmitry Baryshkov
2022-04-27 10:37:39 +03:00
committed by Richard Purdie
parent 3168b02b08
commit 7a30031f69
+6 -1
View File
@@ -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.
# But if you are building an image which doesn't need the kernel image at all,
# you can unset this variable manually.
KERNELDEPLOYDEPEND ?= "virtual/kernel:do_deploy"
do_build[depends] += "${KERNELDEPMODDEPEND}"
python () {