summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.sh2
-rwxr-xr-xroot_image6
-rw-r--r--tests/bcache/suspend.ktest2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/util.sh b/lib/util.sh
index cfbcb25..62076a9 100644
--- a/lib/util.sh
+++ b/lib/util.sh
@@ -47,7 +47,7 @@ checkdep()
if which apt-get > /dev/null 2>&1 && \
which sudo > /dev/null 2>&1; then
echo ", installing $package:"
- sudo apt-get install -y "$package"
+ sudo apt-get -qq install "$package"
else
echo ", please install"
exit 1
diff --git a/root_image b/root_image
index 5e3e127..88bd292 100755
--- a/root_image
+++ b/root_image
@@ -207,9 +207,9 @@ ZZ
update_packages()
{
_chroot "$MNT" mount -t proc none /proc
- _chroot "$MNT" apt update
- _chroot "$MNT" apt upgrade -y
- _chroot "$MNT" apt install -y "${PACKAGES[@]}"
+ _chroot "$MNT" apt-get -qq update
+ _chroot "$MNT" apt-get -qq upgrade
+ _chroot "$MNT" apt-get -qq install "${PACKAGES[@]}"
rm -f "$MNT/var/cache/apt/archives/*.deb"
}
diff --git a/tests/bcache/suspend.ktest b/tests/bcache/suspend.ktest
index 701ec51..7b17bfc 100644
--- a/tests/bcache/suspend.ktest
+++ b/tests/bcache/suspend.ktest
@@ -22,7 +22,7 @@ require-kernel-append no_console_suspend
test_main()
{
- apt update; apt install --no-install-recommends -y uswsusp
+ apt-get -qq update; apt-get -qq install --no-install-recommends uswsusp
#setup_tracing 'bcache:*'