summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorMarcel Partap <mpartap@gmx.net>2021-01-16 17:09:52 +0100
committerMarcel Partap <mpartap@gmx.net>2021-01-16 17:09:52 +0100
commit02520659500ce7df57fa388ebdac282a98dbbc8e (patch)
treebf630a01b35940733cd266e817a9a267893428a3 /scripts/build
parent63c1a5997de819dc89c38834535ab9f7c0a70c73 (diff)
downloadvyos-live-build-02520659500ce7df57fa388ebdac282a98dbbc8e.tar.gz
vyos-live-build-02520659500ce7df57fa388ebdac282a98dbbc8e.zip
binary_rootfs stage: disable mksquashfs progress bar only in quiet mode
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_rootfs5
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