binary_rootfs stage: disable mksquashfs progress bar only in quiet mode

This commit is contained in:
Marcel Partap 2021-01-16 17:09:52 +01:00
parent 63c1a5997d
commit 0252065950
1 changed files with 4 additions and 1 deletions

View File

@ -265,7 +265,10 @@ case "${LB_CHROOT_FILESYSTEM}" in
# Remove stale squashfs image
rm -f chroot/filesystem.squashfs
MKSQUASHFS_OPTIONS="-no-progress ${MKSQUASHFS_OPTIONS}"
if [ "${_QUIET}" = "true" ]
then
MKSQUASHFS_OPTIONS="-no-progress ${MKSQUASHFS_OPTIONS}"
fi
if [ "${_VERBOSE}" = "true" ]
then