diff options
author | Marcel Partap <mpartap@gmx.net> | 2021-01-16 17:09:52 +0100 |
---|---|---|
committer | Marcel Partap <mpartap@gmx.net> | 2021-01-16 17:09:52 +0100 |
commit | 02520659500ce7df57fa388ebdac282a98dbbc8e (patch) | |
tree | bf630a01b35940733cd266e817a9a267893428a3 | |
parent | 63c1a5997de819dc89c38834535ab9f7c0a70c73 (diff) | |
download | vyos-live-build-02520659500ce7df57fa388ebdac282a98dbbc8e.tar.gz vyos-live-build-02520659500ce7df57fa388ebdac282a98dbbc8e.zip |
binary_rootfs stage: disable mksquashfs progress bar only in quiet mode
-rwxr-xr-x | scripts/build/binary_rootfs | 5 |
1 files changed, 4 insertions, 1 deletions
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 |