meta-sunxi/recipes-kernel
Ilja Byckevich 02d905b476 linux-mainline: fix 'devtool modify' command fail
Traceback (most recent call last):
  File "${TOPDIR}/../src/poky/scripts/devtool", line 338, in <module>
    ret = main()
  File "${TOPDIR}/../src/poky/scripts/devtool", line 325, in main
    ret = args.func(args, config, basepath, workspace)
  File "${TOPDIR}/../src/poky/scripts/lib/devtool/standard.py", line 834, in modify
    if (os.path.exists(srcdir) and os.listdir(srcdir)) and (kernelVersion in staging_kerVer and staging_kbranch == kbranch):
TypeError: 'in <string>' requires string as left operand, not NoneType

Where 'kernelVersion' is None that cause an error.
In the code: "kernelVersion = rd.getVar('LINUX_VERSION')"
So LINUX_VERSION should be initialized

Signed-off-by: Ilja Byckevich <iljabyckevich@gmail.com>
2023-02-03 09:51:22 +03:00
..
linux linux-mainline: fix 'devtool modify' command fail 2023-02-03 09:51:22 +03:00
linux-firmware layer: convert to new override syntax 💥 2021-08-23 18:47:19 +02:00
xradio Fix `LICENSE` field of some recipes to correspond to Poky ones. 2022-09-12 07:27:30 +02:00
xradio-firmware layer: convert to new override syntax 💥 2021-08-23 18:47:19 +02:00