live-build/auto/build: Add size of the filesystems. This is used by the installer to calculate the minimum partition size to reserve for installation. The installer will have to sum all the sizes to compute the final size. Thank didrocks

sil2100/core18-pi3-arm64
Jean-Baptiste Lallement 6 years ago committed by Jean-Baptiste Lallement
parent 7e2f4d4304
commit ca63d43696

@ -492,6 +492,9 @@ EOF
squashfs_f_manifest="${squashfs_f}.manifest"
create_manifest "chroot.${_PASS}/" "${squashfs_f_manifest}"
squashfs_f_size="${squashfs_f}.size"
du -B 1 -s "chroot.${_PASS}/" | cut -f1 > "${squashfs_f_size}"
CURPASS=$(( CURPASS + 1 ))
done
fi

Loading…
Cancel
Save