From 4a33fdc2becb4ed6e883b46cf04364e9c6fdc9ca Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Tue, 3 Dec 2019 22:22:56 +0100 Subject: 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 --- classes/image_type_tezi.bbclass | 6 +++--- 1 file 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" -- cgit v1.2.3