From ab7e8c53421385474f8961bfe6d84ce63c260fc3 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 13 Mar 2024 18:58:39 +0100 Subject: [PATCH] Expand predicted size for rootfs for abl type of images --- extensions/image-output-abl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/image-output-abl.sh b/extensions/image-output-abl.sh index 0661d72a0a70..b6a376478783 100644 --- a/extensions/image-output-abl.sh +++ b/extensions/image-output-abl.sh @@ -15,7 +15,7 @@ function post_build_image__900_convert_to_abl_img() { old_rootfs_image_mount_dir=${DESTIMG}/rootfs-old new_rootfs_image_mount_dir=${DESTIMG}/rootfs-new mkdir -p ${old_rootfs_image_mount_dir} ${new_rootfs_image_mount_dir} - truncate --size=8192M ${ROOTFS_IMAGE_FILE} + truncate --size=9216M ${ROOTFS_IMAGE_FILE} mkfs.ext4 -F ${ROOTFS_IMAGE_FILE} new_rootfs_image_uuid=$(blkid -s UUID -o value ${ROOTFS_IMAGE_FILE}) mount ${DESTIMG}/rootfs.img ${old_rootfs_image_mount_dir}