summaryrefslogtreecommitdiff
path: root/classes/image_type_tezi.bbclass
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2019-05-10 13:36:31 +0200
committerMing Liu <liu.ming50@gmail.com>2019-05-12 22:09:50 +0200
commite9cc1d5996eee20018979f4e54e2239393bd3142 (patch)
treef8cc5e75fba8dc5604e6c52a96b5fa8e520d6c09 /classes/image_type_tezi.bbclass
parentaa50243bd9ad37b18d2ca646bf1cf696f921fe7e (diff)
image_type_tezi.bbclass: normalize some comment texts
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'classes/image_type_tezi.bbclass')
-rw-r--r--classes/image_type_tezi.bbclass12
1 files changed, 5 insertions, 7 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass
index 59a685b..b5ddc50 100644
--- a/classes/image_type_tezi.bbclass
+++ b/classes/image_type_tezi.bbclass
@@ -26,13 +26,13 @@ UBOOT_BINARY_TEZI_RAWNAND ?= "${UBOOT_BINARY}"
UBOOT_ENV_TEZI_EMMC ?= "uEnv.txt"
UBOOT_ENV_TEZI_RAWNAND ?= "uEnv.txt"
-# for generic images this is not yet defined
+# For generic images this is not yet defined
TDX_VERDATE ?= "-${DATE}"
TDX_VERDATE[vardepsexclude] = "DATE"
-# append tar command to store uncompressed image size to ${T}.
-# If a custom rootfs type is used make sure this file is created before
-# compression
+# Append tar command to store uncompressed image size to ${T}.
+# If a custom rootfs type is used make sure this file is created
+# before compression.
IMAGE_CMD_tar_append = "; echo $(du -ks ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.tar | cut -f 1) > ${T}/image-size.tar"
create_bootfs () {
@@ -182,7 +182,7 @@ def rootfs_tezi_json(d, flash_type, flash_data, json_file, uenv_file):
from datetime import datetime
deploydir = d.getVar('DEPLOY_DIR_IMAGE')
- # patched in IMAGE_CMD_teziimg() below
+ # Patched in IMAGE_CMD_teziimg() below
release_date = "%release_date%"
data = OrderedDict({ "config_format": 2, "autoinstall": False })
@@ -390,8 +390,6 @@ IMAGE_CMD_teziimg-distro () {
sed -i "s/%release_date%/$ISODATE/" ${DEPLOY_DIR_IMAGE}/${TEZI_IMAGE_JSON}
done
- # The first transform strips all folders from the files to tar, the
- # second transform "moves" them in a subfolder ${IMAGE_NAME}-Tezi_${PV}.
${IMAGE_CMD_TAR} \
--transform='s/.*\///' \
--transform 's,^,${IMAGE_NAME}-Tezi_${PV}/,' \