From 7798cc5eda1cc9b187df5654ea2ed07991d2035c Mon Sep 17 00:00:00 2001 From: Marek Belisko Date: Thu, 25 Apr 2024 08:54:39 +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 002c855..5b432d7 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}" + # Since we're not using git, this doesn't make a difference, but we need to fill # in something or kernel-yocto.bbclass will fail. KBRANCH ?= "master"