diff options
author | Ming Liu <liu.ming50@gmail.com> | 2019-01-14 14:01:26 +0100 |
---|---|---|
committer | Ming Liu <liu.ming50@gmail.com> | 2019-01-14 14:15:06 +0100 |
commit | 2782c5c6243736884bcb6f901ed828014601787f (patch) | |
tree | 113778668933be3bc50e0617bd481f4282950b02 /classes | |
parent | c6cbeda3876003f9d5a179f96a406432549ae68b (diff) | |
download | meta-updater-2782c5c6243736884bcb6f901ed828014601787f.tar.gz |
image_types_ota.bbclass: fix a typo
type -> size.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_ota.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 9883a68..fe3d1d8 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -93,7 +93,7 @@ IMAGE_CMD_ota () { | |||
93 | IMAGE_TYPEDEP_ota-ext4 = "ota" | 93 | IMAGE_TYPEDEP_ota-ext4 = "ota" |
94 | do_image_ota_ext4[depends] = "e2fsprogs-native:do_populate_sysroot" | 94 | do_image_ota_ext4[depends] = "e2fsprogs-native:do_populate_sysroot" |
95 | IMAGE_CMD_ota-ext4 () { | 95 | IMAGE_CMD_ota-ext4 () { |
96 | # Calculate image type | 96 | # Calculate image size |
97 | OTA_ROOTFS_SIZE=$(calculate_size `du -ks ${OTA_SYSROOT} | cut -f 1` "${IMAGE_OVERHEAD_FACTOR}" "${IMAGE_ROOTFS_SIZE}" "${IMAGE_ROOTFS_MAXSIZE}" `expr ${IMAGE_ROOTFS_EXTRA_SPACE}` "${IMAGE_ROOTFS_ALIGNMENT}") | 97 | OTA_ROOTFS_SIZE=$(calculate_size `du -ks ${OTA_SYSROOT} | cut -f 1` "${IMAGE_OVERHEAD_FACTOR}" "${IMAGE_ROOTFS_SIZE}" "${IMAGE_ROOTFS_MAXSIZE}" `expr ${IMAGE_ROOTFS_EXTRA_SPACE}` "${IMAGE_ROOTFS_ALIGNMENT}") |
98 | 98 | ||
99 | if [ ${OTA_ROOTFS_SIZE} -lt 0 ]; then | 99 | if [ ${OTA_ROOTFS_SIZE} -lt 0 ]; then |