termina_build_image: fix file system shrink.
Warn users to install fdupes when it's not available.
Also, resize2fs doesn't work for me on 1K block size and man page of resize2fs
reads "The minimum size of the filesystem as estimated by resize2fs may be
incorrect, especially for filesystems with 1k and 2k blocksizes.", so just
begin with the 110% of disk usage of root fs.
TEST=manual - run termina_build_image
Commit-Ready: ChromeOS CL Exonerator Bot <firstname.lastname@example.org>
Tested-by: Lepton Wu <email@example.com>
Reviewed-by: Stephen Barber <firstname.lastname@example.org>
1 file changed