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 <marek.belisko@gmail.com>
This commit is contained in:
Marek Belisko 2024-04-25 08:54:39 +02:00
parent 48472ebf37
commit 7798cc5eda

View File

@ -7,6 +7,8 @@ inherit kernel
require linux.inc require linux.inc
LINUX_VERSION = "${PV}"
# Since we're not using git, this doesn't make a difference, but we need to fill # 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. # in something or kernel-yocto.bbclass will fail.
KBRANCH ?= "master" KBRANCH ?= "master"