]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
Revert "image.bbclass: allow overriding dependency on virtual/kernel:do_deploy"
authorJacob Kroon <jacob.kroon@gmail.com>
Mon, 9 May 2022 10:32:51 +0000 (12:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 May 2022 22:40:06 +0000 (23:40 +0100)
As pointed out in
https://lists.openembedded.org/g/openembedded-core/message/165058
https://lists.openembedded.org/g/openembedded-core/message/165216
this patch sets KERNELDEPLOYDEPEND but then uses KERNELDEPMODDEPEND.

Revert the changes since no one seems interested enough to fix it.
If someone wants this then make the variable name readable by
adding underscores where appropriate, for example by calling it
KERNEL_DEPLOY_DEPEND.

This reverts commit dcf9dfa4e6305786cd713aa28deda94a50bd6635.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 47776db2b0e64ea3ab0ed71d1eb3c6482aa5bca6..7f1f6f80a464dd93d3f0ce6e5e07e734817bd115 100644 (file)
@@ -132,12 +132,7 @@ def rootfs_variables(d):
 
 do_rootfs[vardeps] += "${@rootfs_variables(d)}"
 
-# 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}"
+do_build[depends] += "virtual/kernel:do_deploy"
 
 
 python () {