Skip to content

Commit

Permalink
Expand predicted size for rootfs for abl type of images
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Mar 13, 2024
1 parent b7f42d9 commit ab7e8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/image-output-abl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ab7e8c5

Please sign in to comment.