Show mksquashfs progress bar when mkarchiso is run in verbose mode

This commit is contained in:
nl6720 2020-07-30 18:18:00 +03:00
parent d52d36363e
commit 945f3834c2
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369

View File

@ -229,7 +229,7 @@ _mkairootfs_img () {
-comp "${sfs_comp}" -no-progress &> /dev/null
else
mksquashfs "${work_dir}/airootfs.img" "${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs" -noappend \
-comp "${sfs_comp}" -no-progress
-comp "${sfs_comp}"
fi
_msg_info "Done!"
rm "${work_dir}/airootfs.img"
@ -248,7 +248,7 @@ _mkairootfs_sfs () {
-comp "${sfs_comp}" -no-progress &> /dev/null
else
mksquashfs "${work_dir}/airootfs" "${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs" -noappend \
-comp "${sfs_comp}" -no-progress
-comp "${sfs_comp}"
fi
_msg_info "Done!"
}