From 02520659500ce7df57fa388ebdac282a98dbbc8e Mon Sep 17 00:00:00 2001 From: Marcel Partap Date: Sat, 16 Jan 2021 17:09:52 +0100 Subject: binary_rootfs stage: disable mksquashfs progress bar only in quiet mode --- scripts/build/binary_rootfs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/build/binary_rootfs') diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index 11aa37911..8a73babc8 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -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 -- cgit v1.2.3