mirror of https://github.com/cutefishos/calamares
[unpackfs] Re-jig progress reporting
- rsync reports its own progress, and reports on files that find -type f doesn't. This meant that the numbers didn't match what was stored in entry.total - The ir-phase adds files to be handled; to-phase happens once ir-phase is over and the remaining files are processed. By adding the to-phase files, percentages over 100% were reported (in part because the number of files doesn't match). - Update expected entries total from rsync output. - Re-jig computation of how done everything is: tally it up in integers, and do only one global progress percentage.main
parent
6d85fd3586
commit
fae0b8c2f8
Loading…
Reference in New Issue