Add progress bar when running apk commands (MR 1996)

This adds a progress bar when running apk commands both inside and
outside of the chroot.

Closes: #1700
This commit is contained in:
Johannes Marbach 2020-11-27 20:45:22 +01:00 committed by Oliver Smith
parent 705b71d89e
commit bbf0a70e5b
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
9 changed files with 173 additions and 4 deletions

View file

@ -213,6 +213,7 @@ def check_return_code(args, code, log_message):
entering the chroot and more escaping
:raises RuntimeError: when the code indicates that the command failed
"""
if code:
logging.debug("^" * 70)
logging.info("NOTE: The failed command's output is above the ^^^ line"