meta-openembedded/meta-oe/classes
Dmitry Baryshkov a8c964d14c image_types_sparse: fix sparse image generation
After changing image_types_sparse to follow new override syntax, using
this class generates the syntax error, because CONVERSION_CMD:sparse()
function is added to the generated shell file, but color can not be a
part of the function name. Rewrite it to be the variable rather than the
function, so that it does not end up the run.do_image_FOO file.

DEBUG: Executing shell function do_image_ext4
[.......]/temp/run.do_image_ext4.1247938: line 184: `CONVERSION_CMD:sparse': not a valid identifier
WARNING: [.......]/temp/run.do_image_ext4.1247938:151 exit 2 from 'export systemd_user_unitdir="/usr/lib/systemd/user"'
WARNING: Backtrace (BB generated script):
	#1: main, [.......]/temp/run.do_image_ext4.1247938, line 151
ERROR: Execution of '[.......]/temp/run.do_image_ext4.1247938' failed with exit code 2:
[.......]/temp/run.do_image_ext4.1247938: line 184: `CONVERSION_CMD:sparse': not a valid identifier
WARNING: [.......]/temp/run.do_image_ext4.1247938:151 exit 2 from 'export systemd_user_unitdir="/usr/lib/systemd/user"'
WARNING: Backtrace (BB generated script):
	#1: main, [.......]/temp/run.do_image_ext4.1247938, line 151

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:20:30 -07:00
..
breakpad.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
gitpkgv.bbclass gitpkgv.bbclass: Add support for extending the supported tag formats 2020-01-17 15:44:06 -08:00
gitver.bbclass gitver: Pass git directory argument to gitrev_run 2019-06-15 17:17:09 -07:00
gpe.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
image_types_sparse.bbclass image_types_sparse: fix sparse image generation 2021-08-09 10:20:30 -07:00
itstool.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
machine_kernel_pr.bbclass remove True option to getVar calls 2016-12-02 09:16:17 +01:00
scancode.bbclass meta-oe: remove True option to getVar calls (again) 2019-01-13 10:28:01 -08:00
socorro-syms.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00