Make apt even quieter
Even "-qq" is insufficient to suppress the annoying, and useless for non-interactive use, "Reading database ... NN%" output, so add the option suppressing it to all apt commands. Also use "-y" as a single "-q" is not enough to suppress the prompts.
This commit is contained in:
4
.github/workflows/ci_msw_cross.yml
vendored
4
.github/workflows/ci_msw_cross.yml
vendored
@@ -83,7 +83,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
apt-get -q -o=Dpkg::Use-Pty=0 update
|
apt-get -q -o=Dpkg::Use-Pty=0 update
|
||||||
apt-get -qq install sudo
|
apt-get -q -o=Dpkg::Use-Pty=0 -y install sudo
|
||||||
|
|
||||||
# Create a user with the same UID/GID and name as the existing user
|
# Create a user with the same UID/GID and name as the existing user
|
||||||
# outside of the container and allow it using sudo without password.
|
# outside of the container and allow it using sudo without password.
|
||||||
@@ -114,7 +114,7 @@ jobs:
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install $packages
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -o=Dpkg::Use-Pty=0 -y install $packages
|
||||||
|
|
||||||
echo "wxTEST_RUNNER=${winerun}" >> $GITHUB_ENV
|
echo "wxTEST_RUNNER=${winerun}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user