From c475a1851a877bf700d6d9748be7336b2eadd3b2 Mon Sep 17 00:00:00 2001 From: Marek Belisko Date: Thu, 25 Apr 2024 08:49:45 +0200 Subject: [PATCH] linux-mainline: Added LINUX_VERSION variable Fixes: File "/home/retpolanne/Dev/orange-pi-one-plus-image/poky/scripts/lib/devtool/standard.py", line 839, in modify if (os.path.exists(srcdir) and os.listdir(srcdir)) and (kernelVersion in staging_kerVer and staging_kbranch == kbranch): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'in ' requires string as left operand, not NoneType While running devtool modify virtual/kernel. Signed-off-by: Marek Belisko --- recipes-kernel/linux/linux-mainline.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/linux/linux-mainline.inc b/recipes-kernel/linux/linux-mainline.inc index f8070a3..7860c33 100644 --- a/recipes-kernel/linux/linux-mainline.inc +++ b/recipes-kernel/linux/linux-mainline.inc @@ -7,6 +7,8 @@ inherit kernel require linux.inc +LINUX_VERSION = "${PV}" + KERNEL_DTB_PREFIX = "0" python() {