diff options
author | Ming Liu <ming.liu@toradex.com> | 2019-12-03 22:22:56 +0100 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2019-12-03 22:26:20 +0100 |
commit | 4a33fdc2becb4ed6e883b46cf04364e9c6fdc9ca (patch) | |
tree | 4e0cc10834aadeaa4402c2b41f434bf8af40de13 | |
parent | 9e302296f6ef1529ddc899aef3233fda6658ea33 (diff) |
image_type_tezi.bbclass: fix some appendVar
The blank should be before the value rather than after it, or else we
risk on messing up the values by 'a b' > 'ab'.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
-rw-r--r-- | classes/image_type_tezi.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index 8bff8a0..882cc28 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -325,7 +325,7 @@ python rootfs_tezi_run_json() { bb.fatal("Toradex flash type unknown") rootfs_tezi_json(d, flash_type, flash_data, "image.json", uenv_file) - d.appendVar("TEZI_IMAGE_UBOOT_FILES", uenv_file + " " + uboot_file + " ") + d.appendVar("TEZI_IMAGE_UBOOT_FILES", ' ' + uenv_file + ' ' + uboot_file) } python tezi_deploy_bootfs_files() { @@ -406,8 +406,8 @@ python rootfs_tezi_run_distro_json() { json_file = "image.json" rootfs_tezi_json(d, flash_type, flash_data, json_file, uenv_file) - d.appendVar("TEZI_IMAGE_JSON_FILES", json_file + " ") - d.appendVar("TEZI_IMAGE_UBOOT_FILES", uenv_file + " " + uboot_file + " ") + d.appendVar("TEZI_IMAGE_JSON_FILES", ' ' + json_file) + d.appendVar("TEZI_IMAGE_UBOOT_FILES", ' ' + uenv_file + ' ' + uboot_file) } do_image_teziimg_distro[prefuncs] += "tezi_deploy_bootfs_files create_tezi_bootfs rootfs_tezi_run_distro_json" |