summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2019-12-04 13:02:39 +0100
committerMing Liu <ming.liu@toradex.com>2019-12-04 13:04:08 +0100
commit8c0446b33647bd20a0cb06e7ceeeda7b32467305 (patch)
treeed729713e998c312720ce6cdd9055dcd792d5041
parent110b938fab33ad6b50acb2732293e5da62247827 (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.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass
index f34fb5d..0c43f90 100644
--- a/classes/image_type_tezi.bbclass
+++ b/classes/image_type_tezi.bbclass
@@ -322,7 +322,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() {
@@ -398,8 +398,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] += "rootfs_tezi_run_distro_json"