Verified Commit 945f3834 authored by nl6720's avatar nl6720
Browse files

Show mksquashfs progress bar when mkarchiso is run in verbose mode

parent d52d3636
...@@ -229,7 +229,7 @@ _mkairootfs_img () { ...@@ -229,7 +229,7 @@ _mkairootfs_img () {
-comp "${sfs_comp}" -no-progress &> /dev/null -comp "${sfs_comp}" -no-progress &> /dev/null
else else
mksquashfs "${work_dir}/airootfs.img" "${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs" -noappend \ mksquashfs "${work_dir}/airootfs.img" "${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs" -noappend \
-comp "${sfs_comp}" -no-progress -comp "${sfs_comp}"
fi fi
_msg_info "Done!" _msg_info "Done!"
rm "${work_dir}/airootfs.img" rm "${work_dir}/airootfs.img"
...@@ -248,7 +248,7 @@ _mkairootfs_sfs () { ...@@ -248,7 +248,7 @@ _mkairootfs_sfs () {
-comp "${sfs_comp}" -no-progress &> /dev/null -comp "${sfs_comp}" -no-progress &> /dev/null
else else
mksquashfs "${work_dir}/airootfs" "${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs" -noappend \ mksquashfs "${work_dir}/airootfs" "${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs" -noappend \
-comp "${sfs_comp}" -no-progress -comp "${sfs_comp}"
fi fi
_msg_info "Done!" _msg_info "Done!"
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment