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

@ -79,7 +79,7 @@ def init(args, suffix="native"):
# Install alpine-base
pmb.helpers.repo.update(args, arch)
pmb.chroot.apk_static.run(args, ["--no-progress", "--root", chroot,
pmb.chroot.apk_static.run(args, ["--root", chroot,
"--cache-dir", apk_cache, "--initdb", "--arch", arch,
"add", "alpine-base"])